Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001056/0.001056, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009784/0.0009784, 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 1.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.59 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.175e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003658/0.00368, allocations: 3.522 MB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.005068, allocations: 0.9424 MB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.005263, allocations: 11.94 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.005484, allocations: 95.09 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.005818, allocations: 174.6 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.006112, allocations: 171.6 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.006558, allocations: 0.6615 MB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.006779, allocations: 134 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.007108, allocations: 359.2 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.007306, allocations: 199.3 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.007363, allocations: 52 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.007416, allocations: 52 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.007481, allocations: 131.5 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.007612, allocations: 199.4 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.007966, allocations: 406.4 kB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.007969, allocations: 0 / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007969, allocations: 0 / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.007975, allocations: 4 kB / 280.1 MB, free: 10.4 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009692/0.008944, allocations: 0.8971 MB / 280.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.008985, allocations: 12.03 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.009093, allocations: 104.5 kB / 281.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.009406, allocations: 296.2 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.009446, allocations: 41.62 kB / 281.4 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.009505, allocations: 52.38 kB / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.00995, allocations: 339.8 kB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.009963, allocations: 4.125 kB / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.009993, allocations: 27.94 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.01001, allocations: 12 kB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.01032, allocations: 211.7 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01191, allocations: 1.267 MB / 283.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.01227, allocations: 233.1 kB / 283.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.01246, allocations: 116.2 kB / 283.6 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.01249, allocations: 8.328 kB / 283.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.01252, allocations: 41.72 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.01252, allocations: 0 / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001473/0.01399, allocations: 0.9231 MB / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.01402, allocations: 55.91 kB / 284.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.01432, allocations: 438.5 kB / 285.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01435, allocations: 33.7 kB / 285.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.01451, allocations: 367.4 kB / 285.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.862e-05/0.01461, allocations: 194.3 kB / 285.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.01473, allocations: 119.9 kB / 285.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01487, allocations: 0.5313 MB / 286.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01501, allocations: 89.19 kB / 286.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.01522, allocations: 254.7 kB / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.01557, allocations: 371.9 kB / 287 MB, free: 3.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01557, allocations: 0 / 287 MB, free: 3.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006643/0.01623, allocations: 0.5899 MB / 287.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01625, allocations: 8 kB / 287.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01626, allocations: 0 / 287.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.01688, allocations: 239.2 kB / 287.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.01712, allocations: 115.8 kB / 288 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1352/0.1523, allocations: 4.771 MB / 292.7 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.1526, allocations: 26.03 kB / 292.8 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1526, allocations: 22.58 kB / 292.8 MB, free: 21.96 MB / 266.7 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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.1528, allocations: 197.6 kB / 293 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.1529, allocations: 69.5 kB / 293 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.1529, allocations: 58.47 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1529, allocations: 6.094 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.1529, allocations: 4.625 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1529, allocations: 5.109 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1542, allocations: 1.028 MB / 294.1 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1542, allocations: 2.906 kB / 294.1 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1544, allocations: 59.23 kB / 294.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.1549, allocations: 228.4 kB / 294.4 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.155, allocations: 12.34 kB / 294.4 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.1569, allocations: 4.66 MB / 299.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1569, allocations: 1.156 kB / 299.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.1575, allocations: 0.6212 MB / 299.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1576, allocations: 51.31 kB / 299.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1576, allocations: 11.39 kB / 299.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1577, allocations: 17.69 kB / 299.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1578, allocations: 50.86 kB / 299.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1578, allocations: 18.97 kB / 299.9 MB, free: 17.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.1581, allocations: 281.4 kB / 300.1 MB, free: 17.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1581, allocations: 0 / 300.1 MB, free: 17.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.1586, allocations: 151 kB / 300.3 MB, free: 17.03 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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.000107/0.1587, allocations: 108.9 kB / 300.4 MB, free: 16.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.1595, allocations: 0.7471 MB / 301.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1595, allocations: 1.219 kB / 301.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.1599, allocations: 0.5735 MB / 301.7 MB, free: 16.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1602, allocations: 49.86 kB / 301.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1614, allocations: 0.9096 MB / 302.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.1616, allocations: 132.2 kB / 302.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1617, allocations: 47.25 kB / 302.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.1618, allocations: 36.12 kB / 302.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1618, allocations: 0 / 302.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Templates: time 0.009926/0.1717, allocations: 5.242 MB / 308.1 MB, free: 14.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/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: 3.1924021053127944]