Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001398/0.001398, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009605/0.0009605, allocations: 167 kB / 24.82 MB, free: 9.27 MB / 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.959/0.959, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.888e-05, allocations: 9.406 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005028/0.005047, allocations: 6.404 MB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.007761, allocations: 2.374 MB / 282.2 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.008028, allocations: 24 kB / 282.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.009968, allocations: 1.932 MB / 284.1 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.0108, allocations: 0.5586 MB / 284.7 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.01214, allocations: 1.249 MB / 286 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008008/0.01295, allocations: 1.156 MB / 287.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.01371, allocations: 0.8252 MB / 287.9 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.01426, allocations: 0.7054 MB / 288.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.01463, allocations: 486.6 kB / 289.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.132e-05/0.01472, allocations: 100 kB / 289.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005967/0.01532, allocations: 435.3 kB / 289.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.01544, allocations: 255 kB / 289.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.01566, allocations: 395 kB / 290.3 MB, free: 344 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1062/0.1219, allocations: 1.178 MB / 291.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1219, allocations: 3.844 kB / 291.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1219, allocations: 1.312 kB / 291.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.1219, allocations: 0 / 291.5 MB, free: 16.87 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003888/0.1258, allocations: 2.096 MB / 293.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1258, allocations: 10.25 kB / 293.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.1279, allocations: 0.7058 MB / 294.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1281, allocations: 250 kB / 294.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.1282, allocations: 100.7 kB / 294.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.1283, allocations: 131.5 kB / 294.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.1296, allocations: 0.9457 MB / 295.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.1297, allocations: 5.203 kB / 295.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.1297, allocations: 54.36 kB / 295.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.1298, allocations: 34.59 kB / 295.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.1306, allocations: 0.5158 MB / 296.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.1346, allocations: 3.27 MB / 299.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.1356, allocations: 0.9059 MB / 300.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1359, allocations: 251.4 kB / 300.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.136, allocations: 65.7 kB / 300.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.136, allocations: 51.36 kB / 300.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.106e-06/0.1361, allocations: 0 / 300.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.003288/0.1393, allocations: 2.109 MB / 302.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1394, allocations: 90.98 kB / 303 MB, free: 13.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1396, allocations: 419.5 kB / 303.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.1397, allocations: 46.23 kB / 303.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1398, allocations: 0.5033 MB / 304 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.14, allocations: 452.6 kB / 304.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.1402, allocations: 261 kB / 304.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.1403, allocations: 0.5536 MB / 305.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1405, allocations: 162.3 kB / 305.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.1408, allocations: 0.5614 MB / 306 MB, free: 11.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/0.1414, allocations: 0.7734 MB / 306.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1414, allocations: 3.312 kB / 306.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001007/0.1424, allocations: 0.9809 MB / 307.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1424, allocations: 5.719 kB / 307.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1424, allocations: 9.031 kB / 307.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.143, allocations: 258.3 kB / 308 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.1435, allocations: 271 kB / 308.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.1453, allocations: 4.751 MB / 313 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.1456, allocations: 54.06 kB / 313 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.1457, allocations: 47.38 kB / 313.1 MB, free: 6.676 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.1459, allocations: 233.4 kB / 313.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.146, allocations: 114.5 kB / 313.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/0.1469, allocations: 0.8466 MB / 314.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1469, allocations: 12.59 kB / 314.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1469, allocations: 3.094 kB / 314.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1469, allocations: 11.5 kB / 314.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.1485, allocations: 1.669 MB / 316 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1485, allocations: 0 / 316 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.1489, allocations: 202 kB / 316.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.1493, allocations: 221.4 kB / 316.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.1494, allocations: 27.98 kB / 316.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.151, allocations: 4.616 MB / 321 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.151, allocations: 3.656 kB / 321 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1522, allocations: 1.13 MB / 322.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.1524, allocations: 155.6 kB / 322.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.1524, allocations: 23.94 kB / 322.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1527, allocations: 39.98 kB / 322.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.1528, allocations: 96.28 kB / 322.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.1529, allocations: 34.72 kB / 322.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.153, allocations: 251.2 kB / 322.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.153, allocations: 0 / 322.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007785/0.1538, allocations: 308 kB / 323.1 MB, free: 13.4 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002219/0.154, allocations: 183.1 kB / 323.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.155, allocations: 1.08 MB / 324.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.155, allocations: 4 kB / 324.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.1556, allocations: 0.7538 MB / 325.1 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1559, allocations: 78.8 kB / 325.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.1582, allocations: 1.718 MB / 326.9 MB, free: 9.586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.1583, allocations: 199.8 kB / 327.1 MB, free: 9.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.1587, allocations: 138.6 kB / 327.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.159, allocations: 190.2 kB / 327.4 MB, free: 9.039 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.159, allocations: 7.656 kB / 327.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of Templates: time 0.01436/0.1733, allocations: 11.34 MB / 338.7 MB, free: 13.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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: 2.882061676122248]