Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001959/0.001959, allocations: 90.55 kB / 20.69 MB, free: 1.02 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.002488/0.002488, allocations: 158 kB / 23.95 MB, free: 4.152 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.473/1.473, allocations: 177 MB / 204.1 MB, free: 9.152 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.197e-05, allocations: 6.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003963/0.003985, allocations: 2.645 MB / 327.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.005459, allocations: 0.7545 MB / 328.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.005599, allocations: 6.438 kB / 328.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.005808, allocations: 68.09 kB / 328.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.006089, allocations: 103.9 kB / 328.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.006373, allocations: 108.2 kB / 328.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.006813, allocations: 405.1 kB / 329.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.007003, allocations: 91.17 kB / 329.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.007397, allocations: 238.7 kB / 329.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.007611, allocations: 123.8 kB / 329.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.007666, allocations: 31.84 kB / 329.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.007725, allocations: 32.97 kB / 329.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/0.007822, allocations: 76.17 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.007991, allocations: 124.4 kB / 329.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.008495, allocations: 403.9 kB / 330.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.008498, allocations: 1.344 kB / 330.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.008499, allocations: 0 / 330.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.008506, allocations: 4 kB / 330.2 MB, free: 13.32 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.001154/0.009659, allocations: 0.5688 MB / 330.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.009696, allocations: 12.33 kB / 330.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.009778, allocations: 38.77 kB / 330.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.01017, allocations: 224.3 kB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.0102, allocations: 21.97 kB / 331.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.01026, allocations: 37.47 kB / 331.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.01089, allocations: 282.5 kB / 331.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01091, allocations: 4.172 kB / 331.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.01094, allocations: 18.81 kB / 331.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.01096, allocations: 11.94 kB / 331.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.01162, allocations: 256.1 kB / 331.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.01333, allocations: 0.8701 MB / 332.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.01374, allocations: 145.1 kB / 332.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.01394, allocations: 63.59 kB / 332.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.01396, allocations: 2.344 kB / 332.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.01399, allocations: 32.56 kB / 332.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.01399, allocations: 0 / 332.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002228/0.01622, allocations: 0.5994 MB / 333.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.01626, allocations: 54.22 kB / 333.4 MB, free: 11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.01657, allocations: 274.6 kB / 333.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.0166, allocations: 26.89 kB / 333.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.01677, allocations: 231.7 kB / 333.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/0.01684, allocations: 77.17 kB / 334 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.01695, allocations: 64.75 kB / 334.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.01711, allocations: 344.5 kB / 334.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.01743, allocations: 99.81 kB / 334.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.01781, allocations: 190.7 kB / 334.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.01849, allocations: 301 kB / 335 MB, free: 9.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01849, allocations: 1.5 kB / 335 MB, free: 9.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009231/0.01942, allocations: 398.6 kB / 335.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.01943, allocations: 6.625 kB / 335.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01944, allocations: 2.312 kB / 335.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.01972, allocations: 57.75 kB / 335.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.02006, allocations: 78.8 kB / 335.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.02231, allocations: 2.572 MB / 338.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.02261, allocations: 23.75 kB / 338.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.02264, allocations: 20.12 kB / 338.1 MB, free: 6.785 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.0001904/0.02283, allocations: 156.9 kB / 338.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.02288, allocations: 26.78 kB / 338.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.02296, allocations: 37.05 kB / 338.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.02296, allocations: 1.438 kB / 338.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.02297, allocations: 1 kB / 338.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02297, allocations: 1.562 kB / 338.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.0233, allocations: 221.1 kB / 338.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.0233, allocations: 7.984 kB / 338.6 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.02353, allocations: 40.38 kB / 338.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.02369, allocations: 48.69 kB / 338.7 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.02372, allocations: 17.23 kB / 338.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.02588, allocations: 2.571 MB / 341.3 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.02588, allocations: 3.938 kB / 341.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008116/0.02669, allocations: 374.1 kB / 341.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.02674, allocations: 26.72 kB / 341.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.02678, allocations: 5.031 kB / 341.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.027, allocations: 11.77 kB / 341.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.02707, allocations: 26.73 kB / 341.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.02708, allocations: 4.781 kB / 341.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.0273, allocations: 186.5 kB / 341.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0273, allocations: 0 / 341.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.02771, allocations: 70.97 kB / 341.9 MB, free: 3.301 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.0001282/0.02784, allocations: 102.1 kB / 342 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.02885, allocations: 478.8 kB / 342.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02886, allocations: 0 / 342.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.02942, allocations: 337.3 kB / 342.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.02977, allocations: 32.97 kB / 342.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.03094, allocations: 0.5337 MB / 343.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.03111, allocations: 168.8 kB / 343.6 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.03127, allocations: 26.42 kB / 343.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.03134, allocations: 24.48 kB / 343.6 MB, free: 1.551 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.03134, allocations: 0 / 343.6 MB, free: 1.551 MB / 302.1 MB Notification: Performance of Templates: time 0.007265/0.0386, allocations: 2.753 MB / 346.4 MB, free: 14.82 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.4273944944143295]