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.001144/0.001144, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001415/0.001415, allocations: 150.3 kB / 24.81 MB, free: 9.285 MB / 18.57 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 0.9785/0.9785, allocations: 173.3 MB / 201.4 MB, free: 9.176 MB / 186.7 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 1.352e-06/1.352e-06, allocations: 0 / 268.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.027e-05, allocations: 6.25 kB / 268.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004719/0.004739, allocations: 4.853 MB / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.007323, allocations: 2.02 MB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.007564, allocations: 16 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.009166, allocations: 1.435 MB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008753/0.01004, allocations: 0.5629 MB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.01145, allocations: 0.9991 MB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007505/0.0122, allocations: 0.7625 MB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.01295, allocations: 0.5753 MB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.0135, allocations: 490.8 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.01384, allocations: 335.1 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.01392, allocations: 72 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007197/0.01464, allocations: 371.4 kB / 280.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.01474, allocations: 167.3 kB / 281.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.01492, allocations: 259.3 kB / 281.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.01585, allocations: 0.8759 MB / 282.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.01585, allocations: 4 kB / 282.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01585, allocations: 0 / 282.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.01586, allocations: 0 / 282.2 MB, free: 8.32 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.00241/0.01827, allocations: 1.509 MB / 283.7 MB, free: 6.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.01831, allocations: 8.922 kB / 283.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.01971, allocations: 0.5076 MB / 284.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.01987, allocations: 200.3 kB / 284.4 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.01991, allocations: 62.38 kB / 284.5 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.02002, allocations: 88.33 kB / 284.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.02105, allocations: 0.6497 MB / 285.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.02107, allocations: 192 / 285.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.02112, allocations: 36.38 kB / 285.2 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.02113, allocations: 23.94 kB / 285.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.02157, allocations: 349.6 kB / 285.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.02413, allocations: 2.314 MB / 287.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.02457, allocations: 386.8 kB / 288.3 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.02469, allocations: 109.1 kB / 288.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.02475, allocations: 28.47 kB / 288.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.02477, allocations: 41.89 kB / 288.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.984e-06/0.02477, allocations: 0 / 288.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002014/0.02679, allocations: 1.178 MB / 289.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.02682, allocations: 85.61 kB / 289.7 MB, free: 484 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.02701, allocations: 361.8 kB / 290.1 MB, free: 108 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.02704, allocations: 33.7 kB / 290.1 MB, free: 68 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1001/0.1271, allocations: 416.6 kB / 290.5 MB, free: 22.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1273, allocations: 224.3 kB / 290.7 MB, free: 22.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.1275, allocations: 160.1 kB / 290.9 MB, free: 22.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.1276, allocations: 0.5303 MB / 291.4 MB, free: 21.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1278, allocations: 93.44 kB / 291.5 MB, free: 21.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.1281, allocations: 473.2 kB / 292 MB, free: 21.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.1286, allocations: 0.5744 MB / 292.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1286, allocations: 3.406 kB / 292.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007768/0.1293, allocations: 0.5995 MB / 293.2 MB, free: 21.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1294, allocations: 8.438 kB / 293.2 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.1294, allocations: 7.406 kB / 293.2 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.1297, allocations: 88.34 kB / 293.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.1301, allocations: 189.2 kB / 293.4 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.1311, allocations: 3.505 MB / 297 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.1315, allocations: 45.39 kB / 297 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.1315, allocations: 33.75 kB / 297 MB, free: 17.62 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.0001974/0.1317, allocations: 207 kB / 297.2 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.1318, allocations: 64.47 kB / 297.3 MB, free: 17.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.1324, allocations: 458.3 kB / 297.7 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1324, allocations: 9.625 kB / 297.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1324, allocations: 0 / 297.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1324, allocations: 4.406 kB / 297.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1335, allocations: 0.9027 MB / 298.7 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1335, allocations: 0 / 298.7 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.1338, allocations: 119.2 kB / 298.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.1341, allocations: 78.97 kB / 298.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.1341, allocations: 18.25 kB / 298.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000872/0.135, allocations: 3.5 MB / 302.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.135, allocations: 1.062 kB / 302.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.1357, allocations: 0.6389 MB / 303 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.1358, allocations: 85.53 kB / 303.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.1359, allocations: 14.89 kB / 303.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1361, allocations: 31.38 kB / 303.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1362, allocations: 48.62 kB / 303.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.1362, allocations: 19.11 kB / 303.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1363, allocations: 213.2 kB / 303.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1363, allocations: 0 / 303.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000527/0.1368, allocations: 177.8 kB / 303.6 MB, free: 13.21 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.0002018/0.137, allocations: 165.4 kB / 303.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006317/0.1377, allocations: 0.7102 MB / 304.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1377, allocations: 1.438 kB / 304.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.138, allocations: 0.5211 MB / 305 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1383, allocations: 56.95 kB / 305 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.14, allocations: 1.113 MB / 306.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1401, allocations: 139.9 kB / 306.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.1404, allocations: 95.02 kB / 306.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.1406, allocations: 152.3 kB / 306.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1406, allocations: 1.062 kB / 306.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of Templates: time 0.01001/0.1506, allocations: 6.924 MB / 313.5 MB, free: 10.11 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.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.774448429699987]