Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001523/0.001523, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002432/0.002432, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.592e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007017/0.007043, allocations: 4.564 MB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.01149, allocations: 2.016 MB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.0119, allocations: 16 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.01553, allocations: 1.372 MB / 280.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.01682, allocations: 433.1 kB / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.01938, allocations: 1.132 MB / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.02046, allocations: 0.7625 MB / 282.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009765/0.02143, allocations: 0.5751 MB / 283.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.02212, allocations: 475 kB / 283.7 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.0226, allocations: 327.1 kB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.02271, allocations: 64 kB / 284 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.02357, allocations: 403.2 kB / 284.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.02373, allocations: 167.3 kB / 284.6 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.02427, allocations: 251.4 kB / 284.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.02594, allocations: 1.262 MB / 286.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.02595, allocations: 0 / 286.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02595, allocations: 0 / 286.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.02596, allocations: 0 / 286.1 MB, free: 3.98 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.004472/0.03043, allocations: 1.398 MB / 287.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.03046, allocations: 8.031 kB / 287.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.03333, allocations: 0.4998 MB / 288 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.03359, allocations: 197.5 kB / 288.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.03367, allocations: 62.38 kB / 288.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.03382, allocations: 84.38 kB / 288.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.0357, allocations: 0.8936 MB / 289.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.03574, allocations: 8.188 kB / 289.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.03582, allocations: 28.38 kB / 289.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.03585, allocations: 23.94 kB / 289.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1089/0.1447, allocations: 0.7814 MB / 290.1 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/0.1488, allocations: 2.324 MB / 292.4 MB, free: 27.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1499, allocations: 0.5068 MB / 292.9 MB, free: 26.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.1504, allocations: 218.9 kB / 293.1 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.1505, allocations: 29.53 kB / 293.2 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1505, allocations: 39.73 kB / 293.2 MB, free: 26.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.993e-06/0.1505, allocations: 0 / 293.2 MB, free: 26.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.007714/0.1582, allocations: 2.188 MB / 295.4 MB, free: 25.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1582, allocations: 83.98 kB / 295.5 MB, free: 25.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1586, allocations: 303.3 kB / 295.8 MB, free: 25.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.1586, allocations: 38.08 kB / 295.8 MB, free: 25.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1587, allocations: 378.8 kB / 296.2 MB, free: 25.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.1589, allocations: 223.3 kB / 296.4 MB, free: 25.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.1591, allocations: 145.5 kB / 296.5 MB, free: 25.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.1592, allocations: 346.7 kB / 296.9 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008366/0.16, allocations: 269.7 kB / 297.1 MB, free: 24.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.161, allocations: 0.5273 MB / 297.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.1626, allocations: 0.8039 MB / 298.5 MB, free: 23.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1626, allocations: 2.969 kB / 298.5 MB, free: 23.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002124/0.1648, allocations: 0.934 MB / 299.4 MB, free: 23.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1648, allocations: 10.62 kB / 299.4 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.1648, allocations: 6.875 kB / 299.4 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/0.1653, allocations: 90.67 kB / 299.5 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.1662, allocations: 199.9 kB / 299.7 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.1676, allocations: 2.618 MB / 302.3 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.1683, allocations: 61.2 kB / 302.4 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.1684, allocations: 39.75 kB / 302.4 MB, free: 20.84 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.0002729/0.1687, allocations: 218.4 kB / 302.6 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.1688, allocations: 62 kB / 302.7 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.1707, allocations: 0.7234 MB / 303.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1707, allocations: 10.88 kB / 303.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1707, allocations: 1.375 kB / 303.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1707, allocations: 7.156 kB / 303.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.1731, allocations: 1.206 MB / 304.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1731, allocations: 0 / 304.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.1738, allocations: 133.2 kB / 304.8 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.1742, allocations: 79.72 kB / 304.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.1742, allocations: 25.3 kB / 304.9 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1754, allocations: 2.599 MB / 307.5 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1754, allocations: 0.875 kB / 307.5 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.1778, allocations: 1.094 MB / 308.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.178, allocations: 86.72 kB / 308.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.178, allocations: 8 kB / 308.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.1785, allocations: 57.36 kB / 308.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.1786, allocations: 41.39 kB / 308.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.1787, allocations: 23.34 kB / 308.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.1788, allocations: 199.3 kB / 309 MB, free: 16.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1788, allocations: 0 / 309 MB, free: 16.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007003/0.1795, allocations: 170.3 kB / 309.1 MB, free: 16.41 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.000236/0.1798, allocations: 176.3 kB / 309.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.1815, allocations: 0.8715 MB / 310.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1815, allocations: 0 / 310.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.1823, allocations: 0.5267 MB / 310.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.1828, allocations: 60.58 kB / 310.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.1849, allocations: 1.151 MB / 311.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.185, allocations: 282.6 kB / 312.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.1854, allocations: 84.36 kB / 312.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1855, allocations: 56.48 kB / 312.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1855, allocations: 0 / 312.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01041/0.196, allocations: 6.406 MB / 318.7 MB, free: 7.543 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.725748991011642]