Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001582/0.001582, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001656/0.001656, allocations: 161.7 kB / 24.49 MB, free: 3.461 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.402/1.402, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.69 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09232, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006639/0.09896, allocations: 4.56 MB / 376.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.1027, allocations: 1.942 MB / 378.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.103, allocations: 16 kB / 378.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.1064, allocations: 1.381 MB / 379.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.1078, allocations: 0.5398 MB / 380 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.11, allocations: 1 MB / 381 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000907/0.1109, allocations: 0.7395 MB / 381.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009011/0.1118, allocations: 0.5753 MB / 382.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004753/0.1123, allocations: 338.8 kB / 382.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.1128, allocations: 374.3 kB / 383 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1129, allocations: 68 kB / 383.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.1137, allocations: 375.6 kB / 383.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1138, allocations: 159.5 kB / 383.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.1142, allocations: 310.5 kB / 383.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1157, allocations: 1.199 MB / 385.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1157, allocations: 0 / 385.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1157, allocations: 0 / 385.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.1157, allocations: 0 / 385.1 MB, free: 9.734 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.004572/0.1203, allocations: 1.394 MB / 386.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1203, allocations: 8.922 kB / 386.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/0.123, allocations: 388.1 kB / 386.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1232, allocations: 194.3 kB / 387.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.1233, allocations: 62.38 kB / 387.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.1235, allocations: 88.31 kB / 387.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.1253, allocations: 0.9051 MB / 388.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.1254, allocations: 4 kB / 388.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.1254, allocations: 28 kB / 388.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1255, allocations: 20 kB / 388.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1274, allocations: 0.8042 MB / 389 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.1318, allocations: 2.284 MB / 391.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.1331, allocations: 0.5088 MB / 391.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.1337, allocations: 230.2 kB / 392 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.266e-05/0.1337, allocations: 16.48 kB / 392 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1338, allocations: 35.06 kB / 392.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.835e-06/0.1338, allocations: 0 / 392.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008381/0.1422, allocations: 2.206 MB / 394.3 MB, free: 336 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.1422, allocations: 81.61 kB / 394.4 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.1426, allocations: 307.9 kB / 394.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.1426, allocations: 37.7 kB / 394.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.1429, allocations: 367.9 kB / 395.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.1431, allocations: 230 kB / 395.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.1433, allocations: 150.5 kB / 395.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1435, allocations: 346.8 kB / 395.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008547/0.1444, allocations: 273.8 kB / 396 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.1455, allocations: 0.5294 MB / 396.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.1474, allocations: 0.8088 MB / 397.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1474, allocations: 4 kB / 397.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002297/0.1497, allocations: 0.9127 MB / 398.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1497, allocations: 8 kB / 398.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1497, allocations: 11.94 kB / 398.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.1499, allocations: 65.67 kB / 398.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.1509, allocations: 211.6 kB / 398.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.1531, allocations: 2.6 MB / 401.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.1538, allocations: 68 kB / 401.2 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.1539, allocations: 39.98 kB / 401.3 MB, free: 8.832 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.0003088/0.1542, allocations: 213.5 kB / 401.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.1543, allocations: 43.91 kB / 401.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.1564, allocations: 0.749 MB / 402.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.1565, allocations: 8 kB / 402.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1565, allocations: 0 / 402.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.1565, allocations: 11.98 kB / 402.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.1593, allocations: 1.201 MB / 403.5 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.1593, allocations: 3.938 kB / 403.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.16, allocations: 135.8 kB / 403.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.1602, allocations: 57.67 kB / 403.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.1602, allocations: 19.97 kB / 403.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.1625, allocations: 2.607 MB / 406.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1625, allocations: 0 / 406.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.1653, allocations: 1.089 MB / 407.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.1655, allocations: 83.75 kB / 407.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.1656, allocations: 15.98 kB / 407.5 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.1661, allocations: 47.95 kB / 407.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.1663, allocations: 48.41 kB / 407.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.1663, allocations: 19.98 kB / 407.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.1665, allocations: 207 kB / 407.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1665, allocations: 0 / 407.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006963/0.1672, allocations: 175.9 kB / 408 MB, free: 1.816 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.0002596/0.1675, allocations: 163.1 kB / 408.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.1697, allocations: 0.8802 MB / 409 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1697, allocations: 0 / 409 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.1708, allocations: 0.528 MB / 409.6 MB, free: 196 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1712, allocations: 44.97 kB / 409.6 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.1739, allocations: 1.243 MB / 410.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1742, allocations: 282.6 kB / 411.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003869/0.1746, allocations: 92.38 kB / 411.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.1748, allocations: 60.41 kB / 411.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1748, allocations: 0 / 411.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01335/0.1882, allocations: 6.233 MB / 417.5 MB, free: 8.297 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.427458286983892]