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.0007599/0.0007599, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009392/0.001699, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008103/0.0008103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008655/0.001676, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9013/0.9013, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08288/0.9842, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.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.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.272e-06/1.272e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.129e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004045/0.004056, allocations: 4.965 MB / 249.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.006333, allocations: 2.171 MB / 251.7 MB, free: 7.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.006517, allocations: 16 kB / 251.7 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.007864, allocations: 1.481 MB / 253.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.008453, allocations: 429.1 kB / 253.6 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.009622, allocations: 1.143 MB / 254.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.01014, allocations: 0.7742 MB / 255.5 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.0107, allocations: 0.5695 MB / 256.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.01109, allocations: 0.495 MB / 256.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.01136, allocations: 339.1 kB / 256.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.01142, allocations: 64 kB / 256.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.01191, allocations: 415.3 kB / 257.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.01198, allocations: 119.6 kB / 257.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.01213, allocations: 207.6 kB / 257.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.01281, allocations: 0.8214 MB / 258.5 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.01283, allocations: 0 / 258.5 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01283, allocations: 0 / 258.5 MB, free: 280 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.01284, allocations: 0 / 258.5 MB, free: 280 kB / 250.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.00222/0.01506, allocations: 1.678 MB / 260.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.01509, allocations: 12.03 kB / 260.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.01634, allocations: 0.5196 MB / 260.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.01647, allocations: 193.5 kB / 260.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.01652, allocations: 66.38 kB / 261 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.01662, allocations: 80.38 kB / 261 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.01722, allocations: 0.648 MB / 261.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.01724, allocations: 8.078 kB / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.01729, allocations: 36.38 kB / 261.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.0173, allocations: 23.94 kB / 261.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.01765, allocations: 285.8 kB / 262 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.01963, allocations: 1.898 MB / 263.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.01999, allocations: 358.3 kB / 264.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.529e-05/0.02009, allocations: 94.31 kB / 264.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.42e-05/0.02015, allocations: 24.48 kB / 264.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.02017, allocations: 43.05 kB / 264.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.723e-06/0.02018, allocations: 0 / 264.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0008321/0.02101, allocations: 0.5639 MB / 265 MB, free: 9.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.02103, allocations: 59.91 kB / 265.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.02118, allocations: 286.6 kB / 265.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.02121, allocations: 37.7 kB / 265.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.02134, allocations: 367.8 kB / 265.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.02144, allocations: 210.2 kB / 265.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.02155, allocations: 142.5 kB / 266.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.02164, allocations: 354.7 kB / 266.4 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.02172, allocations: 73.97 kB / 266.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.02192, allocations: 341.4 kB / 266.8 MB, free: 7.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.02226, allocations: 475.3 kB / 267.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.02227, allocations: 4 kB / 267.3 MB, free: 6.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000412/0.02268, allocations: 454.3 kB / 267.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.02269, allocations: 8.812 kB / 267.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.0227, allocations: 8 kB / 267.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.02293, allocations: 89.56 kB / 267.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.02327, allocations: 187.7 kB / 268 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009843/0.02425, allocations: 2.392 MB / 270.4 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.02445, allocations: 83.41 kB / 270.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.02448, allocations: 31.98 kB / 270.5 MB, free: 3.543 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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.0001171/0.0246, allocations: 157.7 kB / 270.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.02465, allocations: 39.97 kB / 270.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.02502, allocations: 352.2 kB / 271.1 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.02502, allocations: 7.938 kB / 271.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.02502, allocations: 4 kB / 271.1 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.02503, allocations: 3.984 kB / 271.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.02567, allocations: 0.6626 MB / 271.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02567, allocations: 4 kB / 271.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.02591, allocations: 111.9 kB / 271.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.02599, allocations: 55.58 kB / 271.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.02617, allocations: 77.58 kB / 272 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02619, allocations: 12 kB / 272 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008766/0.02707, allocations: 2.377 MB / 274.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02707, allocations: 0 / 274.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.02748, allocations: 472.4 kB / 274.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.02751, allocations: 15.94 kB / 274.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.02764, allocations: 19.98 kB / 274.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.0277, allocations: 44.42 kB / 274.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.02772, allocations: 11.98 kB / 274.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.02778, allocations: 96.62 kB / 275 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02778, allocations: 64 / 275 MB, free: 14.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.02814, allocations: 219.5 kB / 275.2 MB, free: 14.57 MB / 282.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 (55): * Single equations (assignments): 53 * 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.0001768/0.02831, allocations: 152.2 kB / 275.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.02875, allocations: 0.5546 MB / 275.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.02876, allocations: 8.5 kB / 276 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.02899, allocations: 397.8 kB / 276.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.02921, allocations: 84.95 kB / 276.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.03424, allocations: 1.117 MB / 277.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.675e-05/0.03432, allocations: 140.1 kB / 277.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.03451, allocations: 84.31 kB / 277.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.03466, allocations: 123.3 kB / 277.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03466, allocations: 4 kB / 277.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of Templates: time 0.008473/0.04314, allocations: 6.532 MB / 284.4 MB, free: 5.367 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] 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","",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.4808665877208114]