Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 71.36 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 149.8 kB / 24.48 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 47.81 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08626/0.08778, allocations: 52.17 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006914/0.0947, allocations: 4.575 MB / 376.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.09841, allocations: 1.954 MB / 378.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.09883, allocations: 20 kB / 378.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.1022, allocations: 1.365 MB / 379.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.1036, allocations: 0.5553 MB / 380.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.1057, allocations: 1 MB / 381.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009274/0.1066, allocations: 0.7511 MB / 381.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008884/0.1075, allocations: 0.5714 MB / 382.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.108, allocations: 338.8 kB / 382.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.1085, allocations: 386.3 kB / 383.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1086, allocations: 68 kB / 383.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000709/0.1093, allocations: 375.6 kB / 383.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1094, allocations: 163.4 kB / 383.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.1098, allocations: 322.4 kB / 384 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1112, allocations: 1.206 MB / 385.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1112, allocations: 0 / 385.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1112, allocations: 0 / 385.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1112, allocations: 0 / 385.2 MB, free: 9.664 MB / 350.1 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.004509/0.1157, allocations: 1.402 MB / 386.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1157, allocations: 8.922 kB / 386.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.1184, allocations: 388.1 kB / 387 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1186, allocations: 197.6 kB / 387.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.1187, allocations: 66.38 kB / 387.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.1188, allocations: 80.38 kB / 387.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.1206, allocations: 0.9086 MB / 388.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.1206, allocations: 0 / 388.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.1207, allocations: 32 kB / 388.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.1207, allocations: 20 kB / 388.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1227, allocations: 0.8003 MB / 389.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/0.1268, allocations: 2.292 MB / 391.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.128, allocations: 0.5127 MB / 391.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.1285, allocations: 222.2 kB / 392.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.1286, allocations: 20.48 kB / 392.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1286, allocations: 39.06 kB / 392.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.773e-06/0.1286, allocations: 0 / 392.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008305/0.1369, allocations: 2.198 MB / 394.4 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.137, allocations: 89.61 kB / 394.5 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.1374, allocations: 327.8 kB / 394.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.1374, allocations: 33.7 kB / 394.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.1377, allocations: 372 kB / 395.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.1379, allocations: 226.1 kB / 395.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.1381, allocations: 150.5 kB / 395.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1383, allocations: 346.8 kB / 395.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008707/0.1392, allocations: 277.8 kB / 396.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.1403, allocations: 0.5294 MB / 396.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.1422, allocations: 0.8204 MB / 397.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1422, allocations: 4 kB / 397.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002333/0.1446, allocations: 0.9011 MB / 398.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1446, allocations: 12 kB / 398.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.1446, allocations: 8 kB / 398.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.1449, allocations: 73.59 kB / 398.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.1458, allocations: 203.7 kB / 398.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.1482, allocations: 2.604 MB / 401.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/0.1489, allocations: 72.03 kB / 401.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.149, allocations: 35.98 kB / 401.4 MB, free: 8.719 MB / 366.1 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.0003036/0.1493, allocations: 221.5 kB / 401.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.1494, allocations: 43.77 kB / 401.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.1515, allocations: 0.7452 MB / 402.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1516, allocations: 4 kB / 402.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1516, allocations: 4 kB / 402.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1516, allocations: 7.969 kB / 402.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.1544, allocations: 1.216 MB / 403.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.1544, allocations: 7.922 kB / 403.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.1551, allocations: 131.8 kB / 403.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.1553, allocations: 65.66 kB / 403.8 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.1553, allocations: 12 kB / 403.9 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.1575, allocations: 2.604 MB / 406.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1575, allocations: 0 / 406.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.1603, allocations: 1.089 MB / 407.6 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.1605, allocations: 75.7 kB / 407.6 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.1606, allocations: 20.05 kB / 407.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.1612, allocations: 47.95 kB / 407.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.1613, allocations: 48.34 kB / 407.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.1613, allocations: 27.98 kB / 407.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.1616, allocations: 207.1 kB / 408 MB, free: 1.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1616, allocations: 0 / 408 MB, free: 1.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006883/0.1622, allocations: 179.9 kB / 408.1 MB, free: 1.684 MB / 366.1 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.0002551/0.1625, allocations: 159.1 kB / 408.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.1647, allocations: 0.8842 MB / 409.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1647, allocations: 0 / 409.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.1658, allocations: 0.5239 MB / 409.7 MB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1662, allocations: 40.66 kB / 409.7 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.169, allocations: 1.265 MB / 411 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1693, allocations: 286.8 kB / 411.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004071/0.1697, allocations: 96.41 kB / 411.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.1698, allocations: 48.47 kB / 411.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1698, allocations: 0 / 411.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01351/0.1834, allocations: 6.32 MB / 417.8 MB, free: 8.066 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.443024099920876]