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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 158.9 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.653e-06/1.653e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.326e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004047/0.00407, allocations: 2.671 MB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.005661, allocations: 0.7591 MB / 328.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.005815, allocations: 13.91 kB / 328.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.00606, allocations: 63.25 kB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.006361, allocations: 104.3 kB / 328.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.006657, allocations: 109.5 kB / 328.7 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.007116, allocations: 415 kB / 329.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.007314, allocations: 90.88 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.007756, allocations: 247 kB / 329.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.007982, allocations: 124.9 kB / 329.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.008041, allocations: 34.41 kB / 329.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-05/0.008122, allocations: 38.09 kB / 329.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.008211, allocations: 79.28 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.008375, allocations: 125.6 kB / 329.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.008928, allocations: 410.1 kB / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.008934, allocations: 3.984 kB / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008935, allocations: 0 / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.008943, allocations: 1.156 kB / 330.3 MB, free: 13.29 MB / 302.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.001215/0.01016, allocations: 0.5812 MB / 330.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.0102, allocations: 12.98 kB / 330.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.839e-05/0.01028, allocations: 39.23 kB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.01072, allocations: 216.5 kB / 331.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.01077, allocations: 30.36 kB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.01083, allocations: 32.16 kB / 331.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.01148, allocations: 295.6 kB / 331.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01149, allocations: 192 / 331.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.01153, allocations: 10.75 kB / 331.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.01154, allocations: 15.73 kB / 331.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.01224, allocations: 253.2 kB / 331.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.01396, allocations: 0.8786 MB / 332.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.01437, allocations: 144.9 kB / 332.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.01457, allocations: 59.86 kB / 332.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.0146, allocations: 6.141 kB / 332.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.01465, allocations: 40.69 kB / 332.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.01465, allocations: 0 / 332.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00255/0.0172, allocations: 0.5925 MB / 333.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.01728, allocations: 55.03 kB / 333.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.01771, allocations: 290.1 kB / 333.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.01774, allocations: 29.7 kB / 333.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.01796, allocations: 240.4 kB / 334 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.01804, allocations: 73.73 kB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.01817, allocations: 64.72 kB / 334.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.01834, allocations: 337.2 kB / 334.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.01866, allocations: 99.02 kB / 334.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.01905, allocations: 199.7 kB / 334.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.01979, allocations: 302.1 kB / 335.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01979, allocations: 1.781 kB / 335.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001054/0.02085, allocations: 407.3 kB / 335.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.02087, allocations: 6.625 kB / 335.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.02088, allocations: 3.531 kB / 335.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.02118, allocations: 62.02 kB / 335.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.02153, allocations: 70.77 kB / 335.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.02418, allocations: 2.576 MB / 338.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.02449, allocations: 27.45 kB / 338.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.02451, allocations: 10.69 kB / 338.2 MB, free: 6.723 MB / 302.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.0002063/0.02472, allocations: 153.9 kB / 338.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.02477, allocations: 27.33 kB / 338.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.284e-05/0.02486, allocations: 40.78 kB / 338.5 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.02486, allocations: 2.375 kB / 338.5 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.02487, allocations: 5.094 kB / 338.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02487, allocations: 9.109 kB / 338.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.0252, allocations: 225.9 kB / 338.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02521, allocations: 0 / 338.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.02542, allocations: 41.05 kB / 338.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/0.02559, allocations: 54.19 kB / 338.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.02562, allocations: 13.48 kB / 338.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.02784, allocations: 2.566 MB / 341.4 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.02784, allocations: 5.344 kB / 341.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.02865, allocations: 373 kB / 341.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.0287, allocations: 25.91 kB / 341.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.02874, allocations: 10.44 kB / 341.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.02896, allocations: 19.75 kB / 341.8 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.02904, allocations: 17.91 kB / 341.8 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.02905, allocations: 4.094 kB / 341.8 MB, free: 3.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.02931, allocations: 197 kB / 342 MB, free: 3.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02931, allocations: 0 / 342 MB, free: 3.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.02977, allocations: 76.41 kB / 342.1 MB, free: 3.219 MB / 302.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.0001414/0.02991, allocations: 103.7 kB / 342.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.031, allocations: 477 kB / 342.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.031, allocations: 0.8125 kB / 342.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.0316, allocations: 345.3 kB / 343 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.03196, allocations: 28.42 kB / 343 MB, free: 2.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.0331, allocations: 0.538 MB / 343.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.03328, allocations: 168.8 kB / 343.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.03339, allocations: 30.38 kB / 343.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.03346, allocations: 24.48 kB / 343.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.03346, allocations: 3.938 kB / 343.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of Templates: time 0.007583/0.04105, allocations: 2.839 MB / 346.6 MB, free: 14.65 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.463495302945375]