Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 215.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 376.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2501, allocations: 53.32 MB / 430.2 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00459/0.2547, allocations: 2.874 MB / 433.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2564, allocations: 0.7944 MB / 433.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.2566, allocations: 4 kB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.2569, allocations: 63.38 kB / 433.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.2573, allocations: 107.2 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.2577, allocations: 103.9 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.2582, allocations: 406.4 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.2584, allocations: 94.94 kB / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003616/0.2588, allocations: 159.4 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.2591, allocations: 175.2 kB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.2591, allocations: 36 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.2592, allocations: 32 kB / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.2593, allocations: 79.7 kB / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.2595, allocations: 187 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.2599, allocations: 407.5 kB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.26, allocations: 0 / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.26, allocations: 0 / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.26, allocations: 0 / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001366/0.2613, allocations: 0.6584 MB / 436.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2614, allocations: 12.03 kB / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2615, allocations: 40.69 kB / 436.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.262, allocations: 283.5 kB / 436.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.262, allocations: 21.03 kB / 436.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.262, allocations: 32.38 kB / 436.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.2627, allocations: 302.3 kB / 437 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2627, allocations: 3.984 kB / 437 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.2628, allocations: 8 kB / 437 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.2628, allocations: 8 kB / 437 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.2634, allocations: 258.4 kB / 437.3 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.2653, allocations: 1.112 MB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.2657, allocations: 146.5 kB / 438.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.2659, allocations: 60.73 kB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.2659, allocations: 11.97 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.266, allocations: 34.56 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.266, allocations: 3.938 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00208/0.2681, allocations: 0.5906 MB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2681, allocations: 51.41 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.2685, allocations: 294.8 kB / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2685, allocations: 25.7 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.2686, allocations: 232.1 kB / 439.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.2687, allocations: 91.25 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2688, allocations: 61.7 kB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.269, allocations: 338.8 kB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.2693, allocations: 95.92 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.2697, allocations: 192 kB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.2703, allocations: 313.1 kB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.2703, allocations: 0 / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008952/0.2712, allocations: 401.4 kB / 441.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2712, allocations: 4 kB / 441.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2713, allocations: 4 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.2715, allocations: 61.61 kB / 441.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.2719, allocations: 75.89 kB / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.2742, allocations: 2.833 MB / 444.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.2745, allocations: 28.05 kB / 444.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.2745, allocations: 15.98 kB / 444.3 MB, free: 8.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.2747, allocations: 161 kB / 444.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.2748, allocations: 27.81 kB / 444.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/0.2749, allocations: 30.2 kB / 444.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.2749, allocations: 8 kB / 444.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2749, allocations: 0 / 444.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2749, allocations: 0 / 444.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.2753, allocations: 337.4 kB / 444.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2753, allocations: 0 / 444.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.2755, allocations: 39.91 kB / 444.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.2757, allocations: 57.67 kB / 445 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2757, allocations: 8 kB / 445 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.2779, allocations: 2.838 MB / 447.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2779, allocations: 0 / 447.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.2787, allocations: 372.9 kB / 448.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.2787, allocations: 104.9 kB / 448.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2788, allocations: 4 kB / 448.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.279, allocations: 15.98 kB / 448.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.2791, allocations: 15.97 kB / 448.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2791, allocations: 8 kB / 448.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.2793, allocations: 198 kB / 448.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2793, allocations: 4 kB / 448.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.2797, allocations: 75.94 kB / 448.6 MB, free: 4.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.2799, allocations: 111.1 kB / 448.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.2809, allocations: 473 kB / 449.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2809, allocations: 4 kB / 449.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.2814, allocations: 334.2 kB / 449.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2817, allocations: 28.89 kB / 449.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.283, allocations: 0.5962 MB / 450.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.2834, allocations: 0.7753 MB / 450.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.2835, allocations: 23.44 kB / 450.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2835, allocations: 0 / 450.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Templates: time 0.009572/0.2931, allocations: 6.128 MB / 457 MB, free: 11.49 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches