Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001306/0.001306, 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.00143/0.00143, allocations: 165.4 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.9153/0.9153, 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.577e-05, allocations: 4.844 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004181/0.004197, allocations: 5.035 MB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.0064, allocations: 2.094 MB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.006582, allocations: 16 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.008137, allocations: 1.482 MB / 281.6 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.008762, allocations: 433.1 kB / 282 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.009894, allocations: 1.171 MB / 283.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.01047, allocations: 0.7741 MB / 284 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006043/0.01108, allocations: 0.5753 MB / 284.6 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.01149, allocations: 494.9 kB / 285 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.01177, allocations: 335.1 kB / 285.4 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.01184, allocations: 68 kB / 285.4 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.01231, allocations: 395.3 kB / 285.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.01239, allocations: 171.3 kB / 286 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.01255, allocations: 259.3 kB / 286.2 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.01327, allocations: 0.907 MB / 287.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01327, allocations: 0 / 287.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01328, allocations: 0 / 287.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01328, allocations: 0 / 287.1 MB, free: 3.301 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.002342/0.01562, allocations: 1.517 MB / 288.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.01566, allocations: 8.031 kB / 288.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.01705, allocations: 0.4998 MB / 289.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.0172, allocations: 203.6 kB / 289.4 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.01724, allocations: 66.38 kB / 289.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.01733, allocations: 88.31 kB / 289.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.01819, allocations: 0.7046 MB / 290.2 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.01821, allocations: 192 / 290.2 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.01826, allocations: 39.94 kB / 290.3 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.01828, allocations: 20 kB / 290.3 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09412/0.1124, allocations: 435.5 kB / 290.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.1151, allocations: 2.29 MB / 293 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.1156, allocations: 423.3 kB / 293.4 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1158, allocations: 134.9 kB / 293.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.972e-05/0.1159, allocations: 30.06 kB / 293.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1159, allocations: 42.48 kB / 293.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.954e-06/0.1159, allocations: 0 / 293.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002359/0.1183, allocations: 1.325 MB / 294.9 MB, free: 17.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.1183, allocations: 88.61 kB / 295 MB, free: 17.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.1186, allocations: 369.5 kB / 295.4 MB, free: 16.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1186, allocations: 36.02 kB / 295.4 MB, free: 16.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1188, allocations: 427.6 kB / 295.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1189, allocations: 228 kB / 296.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.119, allocations: 155.8 kB / 296.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.1191, allocations: 0.5234 MB / 296.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.1194, allocations: 119.6 kB / 296.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.1197, allocations: 493.6 kB / 297.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.1202, allocations: 0.626 MB / 298 MB, free: 15.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1202, allocations: 4.938 kB / 298 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008352/0.121, allocations: 0.6545 MB / 298.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.121, allocations: 9.156 kB / 298.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1211, allocations: 7.219 kB / 298.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.1214, allocations: 97.27 kB / 298.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.1218, allocations: 184.5 kB / 298.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009492/0.1228, allocations: 3.549 MB / 302.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.1231, allocations: 46.72 kB / 302.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.1231, allocations: 37.75 kB / 302.5 MB, free: 11.51 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.0001454/0.1233, allocations: 206.6 kB / 302.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.1233, allocations: 65.53 kB / 302.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.124, allocations: 495.9 kB / 303.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.124, allocations: 6.344 kB / 303.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.124, allocations: 1.672 kB / 303.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.124, allocations: 3.906 kB / 303.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1251, allocations: 1.022 MB / 304.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1251, allocations: 0 / 304.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.1254, allocations: 119.2 kB / 304.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.1257, allocations: 89.53 kB / 304.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.1258, allocations: 20.05 kB / 304.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007785/0.1265, allocations: 3.544 MB / 308.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1265, allocations: 0 / 308.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/0.1273, allocations: 0.6949 MB / 308.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1274, allocations: 90.92 kB / 308.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1275, allocations: 11.67 kB / 308.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1277, allocations: 28.48 kB / 308.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1278, allocations: 49.14 kB / 309 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.1278, allocations: 21.8 kB / 309 MB, free: 7.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1279, allocations: 234.2 kB / 309.2 MB, free: 6.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1279, allocations: 0 / 309.2 MB, free: 6.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004867/0.1284, allocations: 179.5 kB / 309.4 MB, free: 6.832 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.0001971/0.1286, allocations: 166.4 kB / 309.6 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006825/0.1293, allocations: 0.7542 MB / 310.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1293, allocations: 1.562 kB / 310.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.1296, allocations: 0.5374 MB / 310.8 MB, free: 5.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1299, allocations: 54.81 kB / 310.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1313, allocations: 1.101 MB / 312 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.919e-05/0.1314, allocations: 143.4 kB / 312.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.1316, allocations: 80.84 kB / 312.2 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1317, allocations: 55.83 kB / 312.3 MB, free: 5.168 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1317, allocations: 0 / 312.3 MB, free: 5.168 MB / 266.7 MB Notification: Performance of Templates: time 0.008477/0.1402, allocations: 7.127 MB / 319.4 MB, free: 1.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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.7500776713714004]