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.002579/0.002579, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.00289/0.00289, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 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 1.518/1.518, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 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.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.523e-06/1.523e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.726e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007748/0.007775, allocations: 4.931 MB / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.01189, allocations: 2.027 MB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.01231, allocations: 16 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003697/0.01601, allocations: 1.462 MB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.01785, allocations: 0.5746 MB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.0202, allocations: 1.015 MB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.02125, allocations: 0.7664 MB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009858/0.02224, allocations: 0.5753 MB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006785/0.02292, allocations: 487 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.02342, allocations: 327.1 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.02355, allocations: 68 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008016/0.02435, allocations: 379.3 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.02453, allocations: 171.3 kB / 280.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.02485, allocations: 251.4 kB / 280.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.02652, allocations: 1.25 MB / 281.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.02652, allocations: 0 / 281.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02652, allocations: 0 / 281.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.02653, allocations: 0 / 281.6 MB, free: 8.379 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.004505/0.03104, allocations: 1.537 MB / 283.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.03107, allocations: 8.922 kB / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.03408, allocations: 0.5154 MB / 283.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.03436, allocations: 200.3 kB / 283.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/0.03444, allocations: 70.38 kB / 283.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.0346, allocations: 88.31 kB / 284 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.03646, allocations: 0.9304 MB / 284.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.0365, allocations: 4.188 kB / 284.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.03658, allocations: 28.38 kB / 285 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.0366, allocations: 23.94 kB / 285 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.0384, allocations: 0.7535 MB / 285.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.04345, allocations: 2.616 MB / 288.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.0446, allocations: 0.5222 MB / 288.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.04508, allocations: 209.1 kB / 289.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.04517, allocations: 20.48 kB / 289.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.04522, allocations: 45.89 kB / 289.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.445e-06/0.04522, allocations: 0 / 289.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1134/0.1586, allocations: 1.829 MB / 291 MB, free: 31.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1586, allocations: 86.34 kB / 291.1 MB, free: 31.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.159, allocations: 416.1 kB / 291.5 MB, free: 31.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.159, allocations: 35.7 kB / 291.5 MB, free: 31.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1592, allocations: 431.5 kB / 291.9 MB, free: 31.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.1593, allocations: 236.8 kB / 292.2 MB, free: 30.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.1596, allocations: 171.6 kB / 292.3 MB, free: 30.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1597, allocations: 0.5415 MB / 292.9 MB, free: 30.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.1603, allocations: 237.6 kB / 293.1 MB, free: 30.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.161, allocations: 0.6146 MB / 293.7 MB, free: 30 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.1623, allocations: 0.854 MB / 294.6 MB, free: 29.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1623, allocations: 2.312 kB / 294.6 MB, free: 29.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001756/0.164, allocations: 0.8909 MB / 295.5 MB, free: 29.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.164, allocations: 8.125 kB / 295.5 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.1641, allocations: 8.953 kB / 295.5 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.1646, allocations: 96.19 kB / 295.6 MB, free: 29.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.1654, allocations: 187.9 kB / 295.7 MB, free: 29.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.1669, allocations: 3.666 MB / 299.4 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.1675, allocations: 43.02 kB / 299.5 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.1676, allocations: 40.33 kB / 299.5 MB, free: 25.37 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.0002663/0.1678, allocations: 259.3 kB / 299.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.168, allocations: 67.67 kB / 299.8 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.1696, allocations: 0.6834 MB / 300.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1696, allocations: 7.25 kB / 300.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1696, allocations: 1.062 kB / 300.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1696, allocations: 7.125 kB / 300.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.1718, allocations: 1.323 MB / 301.8 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1718, allocations: 0 / 301.8 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.1725, allocations: 120.6 kB / 302 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.1729, allocations: 93.36 kB / 302 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.173, allocations: 15.89 kB / 302.1 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.1744, allocations: 3.658 MB / 305.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1744, allocations: 5.312 kB / 305.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.1764, allocations: 1.065 MB / 306.8 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.1766, allocations: 84.19 kB / 306.9 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.1767, allocations: 16.45 kB / 306.9 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.1771, allocations: 34.17 kB / 306.9 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.1772, allocations: 49.59 kB / 307 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.1773, allocations: 19.55 kB / 307 MB, free: 19.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.1775, allocations: 258.1 kB / 307.2 MB, free: 19.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1775, allocations: 7.766 kB / 307.2 MB, free: 19.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.1782, allocations: 171.4 kB / 307.4 MB, free: 19.69 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.0002356/0.1785, allocations: 153.8 kB / 307.6 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.1801, allocations: 0.9808 MB / 308.5 MB, free: 19.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1801, allocations: 2.938 kB / 308.5 MB, free: 19.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.1809, allocations: 0.6473 MB / 309.2 MB, free: 18.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1813, allocations: 53.16 kB / 309.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1835, allocations: 1.198 MB / 310.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1837, allocations: 291.1 kB / 310.7 MB, free: 17.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003743/0.1841, allocations: 88.33 kB / 310.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.1842, allocations: 53.55 kB / 310.9 MB, free: 17.76 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1842, allocations: 0 / 310.9 MB, free: 17.76 MB / 266.7 MB Notification: Performance of Templates: time 0.01097/0.1952, allocations: 6.309 MB / 317.2 MB, free: 13.04 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","/var/lib/jenkins/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.678321651066653]