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.0009356/0.0009356, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009156/0.0009156, allocations: 170.6 kB / 24.99 MB, free: 8.789 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.9282/0.9282, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.633e-06/1.633e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.93e-05, allocations: 2.312 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006619/0.006638, allocations: 4.999 MB / 278.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003959/0.0106, allocations: 2.094 MB / 280.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.01091, allocations: 16 kB / 280.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.01428, allocations: 1.478 MB / 281.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.01538, allocations: 433.1 kB / 282.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.01763, allocations: 1.16 MB / 283.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008913/0.01852, allocations: 0.7703 MB / 284 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009447/0.01946, allocations: 0.5753 MB / 284.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.02011, allocations: 494.9 kB / 285.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004644/0.02057, allocations: 343.1 kB / 285.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.02068, allocations: 68 kB / 285.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.02138, allocations: 395.3 kB / 285.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.02151, allocations: 167.3 kB / 286 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.02178, allocations: 259.3 kB / 286.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.02322, allocations: 0.9031 MB / 287.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02323, allocations: 0 / 287.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.02323, allocations: 0 / 287.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.02324, allocations: 0 / 287.2 MB, free: 3.672 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.004014/0.02725, allocations: 1.517 MB / 288.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.02729, allocations: 8.031 kB / 288.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.02918, allocations: 0.4959 MB / 289.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.02936, allocations: 203.6 kB / 289.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.02941, allocations: 66.38 kB / 289.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.0295, allocations: 88.27 kB / 289.5 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008943/0.0304, allocations: 0.7124 MB / 290.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.03042, allocations: 192 / 290.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.03047, allocations: 39.94 kB / 290.3 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.03049, allocations: 20 kB / 290.3 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.03122, allocations: 435.7 kB / 290.7 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09965/0.1309, allocations: 2.285 MB / 293 MB, free: 27.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.1315, allocations: 428.3 kB / 293.4 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.1317, allocations: 132.3 kB / 293.6 MB, free: 27.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.1317, allocations: 29.84 kB / 293.6 MB, free: 27.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1318, allocations: 46.7 kB / 293.6 MB, free: 27.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.855e-06/0.1318, allocations: 0 / 293.6 MB, free: 27.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002398/0.1342, allocations: 1.331 MB / 295 MB, free: 26.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1342, allocations: 85.12 kB / 295.1 MB, free: 26.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1344, allocations: 366.5 kB / 295.4 MB, free: 26.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1345, allocations: 35.98 kB / 295.5 MB, free: 26.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1346, allocations: 429.6 kB / 295.9 MB, free: 25.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.1347, allocations: 222 kB / 296.1 MB, free: 25.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1348, allocations: 161.4 kB / 296.2 MB, free: 25.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.1349, allocations: 0.5244 MB / 296.8 MB, free: 25.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1351, allocations: 124.9 kB / 296.9 MB, free: 25.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.1354, allocations: 493.2 kB / 297.4 MB, free: 24.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.136, allocations: 0.6241 MB / 298 MB, free: 24.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.136, allocations: 2.969 kB / 298 MB, free: 24.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008327/0.1368, allocations: 0.6526 MB / 298.7 MB, free: 23.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1368, allocations: 8.938 kB / 298.7 MB, free: 23.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1368, allocations: 7.219 kB / 298.7 MB, free: 23.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.1372, allocations: 99.3 kB / 298.8 MB, free: 23.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.1376, allocations: 183.9 kB / 298.9 MB, free: 23.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009779/0.1386, allocations: 3.551 MB / 302.5 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.1388, allocations: 40.69 kB / 302.5 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1389, allocations: 40.23 kB / 302.6 MB, free: 20.3 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.0001461/0.139, allocations: 213.4 kB / 302.8 MB, free: 20.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.1391, allocations: 62.44 kB / 302.8 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/0.1398, allocations: 494.9 kB / 303.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1398, allocations: 6.281 kB / 303.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1398, allocations: 2.5 kB / 303.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1398, allocations: 3.375 kB / 303.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.1409, allocations: 1.015 MB / 304.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1409, allocations: 4.875 kB / 304.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.1412, allocations: 111.7 kB / 304.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.1415, allocations: 89.52 kB / 304.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.1415, allocations: 15.02 kB / 304.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00077/0.1423, allocations: 3.537 MB / 308.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1423, allocations: 3.938 kB / 308.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.1431, allocations: 0.7021 MB / 308.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1432, allocations: 90.22 kB / 308.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.1433, allocations: 11.27 kB / 308.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.1434, allocations: 28.91 kB / 308.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.1435, allocations: 51.75 kB / 309 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.1436, allocations: 18.91 kB / 309 MB, free: 15.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1437, allocations: 229.9 kB / 309.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1437, allocations: 2.406 kB / 309.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004735/0.1442, allocations: 180.3 kB / 309.4 MB, free: 15.1 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.0001927/0.1443, allocations: 166.1 kB / 309.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.1451, allocations: 0.7538 MB / 310.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1451, allocations: 1.406 kB / 310.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.1454, allocations: 0.5367 MB / 310.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1457, allocations: 60.16 kB / 310.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.1472, allocations: 1.102 MB / 312 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.1472, allocations: 138.5 kB / 312.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.1475, allocations: 89.08 kB / 312.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1476, allocations: 51.06 kB / 312.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1476, allocations: 0 / 312.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of Templates: time 0.007691/0.1553, allocations: 6.535 MB / 318.8 MB, free: 8.219 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.8902976780664176]