Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9177/0.9177, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.656e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005216/0.005243, allocations: 4.995 MB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.008162, allocations: 2.094 MB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.008395, allocations: 16 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.01013, allocations: 1.482 MB / 281.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009083/0.01104, allocations: 441.1 kB / 282 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.01279, allocations: 1.16 MB / 283.2 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007556/0.01354, allocations: 0.7586 MB / 283.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.01419, allocations: 0.5714 MB / 284.5 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004307/0.01463, allocations: 490.9 kB / 285 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.01495, allocations: 335.1 kB / 285.3 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.01502, allocations: 68 kB / 285.4 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007272/0.01575, allocations: 395.3 kB / 285.7 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.01584, allocations: 171.3 kB / 285.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.01602, allocations: 251.4 kB / 286.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.01711, allocations: 0.8954 MB / 287.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01712, allocations: 0 / 287.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01712, allocations: 0 / 287.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.01713, allocations: 4 kB / 287.1 MB, free: 3.387 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002546/0.01967, allocations: 1.509 MB / 288.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.01971, allocations: 8.031 kB / 288.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.02117, allocations: 499.8 kB / 289.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.02136, allocations: 200.3 kB / 289.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.02167, allocations: 66.38 kB / 289.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.02178, allocations: 92.31 kB / 289.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009142/0.02269, allocations: 0.7045 MB / 290.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.02272, allocations: 192 / 290.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.02277, allocations: 36.38 kB / 290.2 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.02278, allocations: 23.94 kB / 290.2 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1095/0.1323, allocations: 426.9 kB / 290.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.1354, allocations: 2.302 MB / 292.9 MB, free: 17.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.136, allocations: 435.4 kB / 293.3 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.1362, allocations: 129.6 kB / 293.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.1363, allocations: 29.02 kB / 293.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1363, allocations: 41.42 kB / 293.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.264e-06/0.1364, allocations: 0.5312 kB / 293.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002574/0.1389, allocations: 1.328 MB / 294.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.139, allocations: 85.27 kB / 294.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.1392, allocations: 358.8 kB / 295.3 MB, free: 16.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1392, allocations: 33.48 kB / 295.3 MB, free: 16.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1394, allocations: 427 kB / 295.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1395, allocations: 222.7 kB / 295.9 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.1397, allocations: 158 kB / 296.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.1398, allocations: 0.5262 MB / 296.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.14, allocations: 119 kB / 296.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.1403, allocations: 492.1 kB / 297.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.1409, allocations: 0.6266 MB / 297.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1409, allocations: 1.469 kB / 297.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008876/0.1418, allocations: 0.654 MB / 298.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1418, allocations: 13 kB / 298.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1418, allocations: 6.781 kB / 298.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/0.1422, allocations: 90.91 kB / 298.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.1427, allocations: 185.6 kB / 298.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1438, allocations: 3.551 MB / 302.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.1441, allocations: 44.31 kB / 302.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.1442, allocations: 42.31 kB / 302.4 MB, free: 11.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0001446/0.1443, allocations: 208 kB / 302.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.1444, allocations: 57.44 kB / 302.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.1451, allocations: 489.8 kB / 303.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1451, allocations: 10.69 kB / 303.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1451, allocations: 1.562 kB / 303.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1451, allocations: 2.484 kB / 303.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1463, allocations: 1.015 MB / 304.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1463, allocations: 0 / 304.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.1466, allocations: 120.6 kB / 304.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.1468, allocations: 82.22 kB / 304.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.1469, allocations: 19.91 kB / 304.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000874/0.1477, allocations: 3.537 MB / 308 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1477, allocations: 0.9375 kB / 308 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.1485, allocations: 0.6973 MB / 308.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1487, allocations: 89.7 kB / 308.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.1487, allocations: 11.36 kB / 308.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.1489, allocations: 35.2 kB / 308.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.149, allocations: 49.38 kB / 308.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.149, allocations: 18.91 kB / 308.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1491, allocations: 223.2 kB / 309.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1491, allocations: 0 / 309.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.1497, allocations: 176.2 kB / 309.2 MB, free: 6.891 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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.0002174/0.1499, allocations: 162.9 kB / 309.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.1506, allocations: 0.761 MB / 310.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1506, allocations: 1.938 kB / 310.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.151, allocations: 0.5376 MB / 310.7 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1512, allocations: 54.75 kB / 310.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1528, allocations: 1.089 MB / 311.8 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.96e-05/0.1529, allocations: 139.3 kB / 312 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.1531, allocations: 87.69 kB / 312.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1532, allocations: 53.55 kB / 312.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1532, allocations: 3.969 kB / 312.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of Templates: time 0.008076/0.1613, allocations: 6.446 MB / 318.6 MB, free: 2.484 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.146230334416032]