Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 161.2 kB / 24.91 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9944/0.9944, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.736e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002926/0.002943, allocations: 2.889 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004522, allocations: 1.273 MB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.004644, allocations: 7.938 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.004848, allocations: 67.42 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.005226, allocations: 226.5 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.005407, allocations: 135.7 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.005726, allocations: 478.9 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.005844, allocations: 66.78 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.006114, allocations: 271.4 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.006303, allocations: 179.5 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.006346, allocations: 40 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.00656, allocations: 171.9 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.006613, allocations: 95.64 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.006698, allocations: 131.7 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.007043, allocations: 402.6 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.007045, allocations: 0 / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007046, allocations: 0 / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.007051, allocations: 0 / 279.8 MB, free: 10.78 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009316/0.007982, allocations: 0.6049 MB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.008022, allocations: 15.98 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.008148, allocations: 52.89 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.00837, allocations: 212.9 kB / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.008434, allocations: 110.2 kB / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.008515, allocations: 36.75 kB / 280.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.008771, allocations: 276.5 kB / 281.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.008783, allocations: 11.88 kB / 281.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.008803, allocations: 12 kB / 281.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.008808, allocations: 4 kB / 281.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.008976, allocations: 121.4 kB / 281.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.009765, allocations: 0.7732 MB / 282 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.009958, allocations: 169 kB / 282.2 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.01004, allocations: 76.02 kB / 282.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.01006, allocations: 7.984 kB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.01008, allocations: 42.5 kB / 282.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.293e-06/0.01008, allocations: 0 / 282.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.004057/0.01414, allocations: 1.901 MB / 284.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.01417, allocations: 85.11 kB / 284.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.01432, allocations: 250.6 kB / 284.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.01435, allocations: 41.64 kB / 284.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.01441, allocations: 149.1 kB / 284.7 MB, free: 5.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.01448, allocations: 154.7 kB / 284.9 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.01457, allocations: 82.09 kB / 284.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.01465, allocations: 346.7 kB / 285.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.01472, allocations: 52.97 kB / 285.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.01482, allocations: 111.3 kB / 285.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.01504, allocations: 198.8 kB / 285.6 MB, free: 4.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01504, allocations: 0 / 285.6 MB, free: 4.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002514/0.01529, allocations: 229.1 kB / 285.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.0153, allocations: 8 kB / 285.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01531, allocations: 0 / 285.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01532, allocations: 8.125 kB / 285.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.01564, allocations: 138.4 kB / 286 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01564, allocations: 4 kB / 286 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01578, allocations: 31.92 kB / 286.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.0158, allocations: 8 kB / 286.1 MB, free: 4.211 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.779e-05/0.0159, allocations: 141.8 kB / 286.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.01596, allocations: 35.91 kB / 286.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.01651, allocations: 362.9 kB / 286.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.01652, allocations: 11.94 kB / 286.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01652, allocations: 0 / 286.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.01653, allocations: 7.984 kB / 286.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.01763, allocations: 0.6811 MB / 287.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01763, allocations: 3.938 kB / 287.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.01788, allocations: 107.8 kB / 287.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.01854, allocations: 212.5 kB / 287.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.01856, allocations: 12 kB / 287.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.01997, allocations: 1.673 MB / 289.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01997, allocations: 4 kB / 289.3 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.02063, allocations: 0.5812 MB / 289.9 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.02071, allocations: 39.73 kB / 289.9 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.02074, allocations: 16.03 kB / 289.9 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.02092, allocations: 23.92 kB / 290 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.02098, allocations: 40.42 kB / 290 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.021, allocations: 8 kB / 290 MB, free: 116 kB / 266.7 MB Notification: Performance of sorting global known variables: time 7.545e-05/0.02108, allocations: 97.59 kB / 290.1 MB, free: 12 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02108, allocations: 0 / 290.1 MB, free: 12 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.1106/0.1317, allocations: 109.8 kB / 290.2 MB, free: 24.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.1319, allocations: 125.2 kB / 290.3 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.1322, allocations: 204.9 kB / 290.5 MB, free: 24.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.1322, allocations: 2.688 kB / 290.5 MB, free: 24.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.1326, allocations: 277.5 kB / 290.8 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1328, allocations: 49.88 kB / 290.8 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1339, allocations: 0.7419 MB / 291.6 MB, free: 24.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.486e-05/0.134, allocations: 103.5 kB / 291.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.1341, allocations: 43.64 kB / 291.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.1343, allocations: 115.3 kB / 291.8 MB, free: 24.14 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1343, allocations: 0.5469 kB / 291.8 MB, free: 24.14 MB / 266.7 MB Notification: Performance of Templates: time 0.008956/0.1433, allocations: 6.795 MB / 298.6 MB, free: 22.97 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.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.70752756902948]