Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.0009748/0.0009748, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.001013/0.001013, allocations: 169.5 kB / 25.7 MB, free: 8.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9186/0.9186, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.435e-05, allocations: 6.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004344/0.004368, allocations: 2.81 MB / 254.4 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.006607, allocations: 1.258 MB / 255.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.006774, allocations: 8 kB / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.007037, allocations: 71.3 kB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005351/0.007572, allocations: 226.5 kB / 255.9 MB, free: 2.836 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.007826, allocations: 115.7 kB / 256 MB, free: 2.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.008278, allocations: 482.8 kB / 256.5 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.008417, allocations: 54.81 kB / 256.6 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.00878, allocations: 267.5 kB / 256.8 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.009052, allocations: 175.5 kB / 257 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.86e-05/0.009121, allocations: 40 kB / 257 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.009418, allocations: 159.9 kB / 257.2 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.009496, allocations: 103.6 kB / 257.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.009607, allocations: 135.6 kB / 257.4 MB, free: 1.328 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.01005, allocations: 390.6 kB / 257.8 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01005, allocations: 0 / 257.8 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01005, allocations: 4 kB / 257.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.01006, allocations: 0 / 257.8 MB, free: 0.9414 MB / 234.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.0007723/0.01083, allocations: 0.601 MB / 258.4 MB, free: 324 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.01086, allocations: 11.98 kB / 258.4 MB, free: 312 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.01093, allocations: 48.89 kB / 258.5 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.01117, allocations: 209.1 kB / 258.7 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.01124, allocations: 98.33 kB / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.866e-05/0.01134, allocations: 44.67 kB / 258.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.01162, allocations: 280.5 kB / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.01163, allocations: 7.938 kB / 259.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.01165, allocations: 8 kB / 259.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.01166, allocations: 11.94 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.01182, allocations: 113.4 kB / 259.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.01265, allocations: 0.7849 MB / 260 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.01284, allocations: 169.1 kB / 260.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.01292, allocations: 69.69 kB / 260.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.01294, allocations: 7.984 kB / 260.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.01296, allocations: 42.5 kB / 260.3 MB, free: 14.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.01297, allocations: 0 / 260.3 MB, free: 14.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.004132/0.0171, allocations: 1.9 MB / 262.2 MB, free: 12.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.01713, allocations: 85.09 kB / 262.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.01729, allocations: 246.6 kB / 262.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.01731, allocations: 33.7 kB / 262.6 MB, free: 11.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.01737, allocations: 148.7 kB / 262.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.01745, allocations: 154.6 kB / 262.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.01755, allocations: 82.14 kB / 262.9 MB, free: 11.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.01764, allocations: 350.7 kB / 263.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.01772, allocations: 44.97 kB / 263.3 MB, free: 11.17 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.01782, allocations: 115.2 kB / 263.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.01803, allocations: 202.6 kB / 263.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01803, allocations: 0 / 263.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002605/0.01829, allocations: 232.9 kB / 263.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.0183, allocations: 4 kB / 263.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01831, allocations: 4 kB / 263.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.01832, allocations: 8.125 kB / 263.9 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.01864, allocations: 131.8 kB / 264 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01865, allocations: 7.938 kB / 264 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01878, allocations: 31.94 kB / 264 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.0188, allocations: 8 kB / 264.1 MB, free: 10.39 MB / 250.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.942e-05/0.0189, allocations: 141.8 kB / 264.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.01896, allocations: 39.91 kB / 264.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.01952, allocations: 359 kB / 264.6 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.01952, allocations: 7.938 kB / 264.6 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.01952, allocations: 0 / 264.6 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.01953, allocations: 11.92 kB / 264.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.02063, allocations: 0.6811 MB / 265.3 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.02063, allocations: 4 kB / 265.3 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.02089, allocations: 111.2 kB / 265.4 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005872/0.02147, allocations: 220.4 kB / 265.6 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.0215, allocations: 12 kB / 265.6 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.02297, allocations: 1.677 MB / 267.3 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02298, allocations: 0 / 267.3 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.02364, allocations: 0.5849 MB / 267.9 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.02372, allocations: 35.83 kB / 267.9 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.02375, allocations: 12 kB / 267.9 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.02392, allocations: 23.92 kB / 268 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.024, allocations: 40.42 kB / 268 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.02402, allocations: 12 kB / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.0241, allocations: 97.53 kB / 268.1 MB, free: 6.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0241, allocations: 0 / 268.1 MB, free: 6.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.02445, allocations: 111.9 kB / 268.2 MB, free: 6.082 MB / 250.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.0002084/0.02466, allocations: 132.2 kB / 268.3 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.02493, allocations: 201.1 kB / 268.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.02494, allocations: 4 kB / 268.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.02521, allocations: 282.6 kB / 268.8 MB, free: 5.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.02545, allocations: 48.53 kB / 268.9 MB, free: 5.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009937/0.02645, allocations: 0.7385 MB / 269.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.02651, allocations: 102.6 kB / 269.7 MB, free: 4.508 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.02663, allocations: 34.97 kB / 269.7 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.02681, allocations: 115.3 kB / 269.8 MB, free: 4.363 MB / 250.7 MB Notification: Performance of SimCode: time 1.193e-06/0.02681, allocations: 0 / 269.8 MB, free: 4.363 MB / 250.7 MB Notification: Performance of Templates: time 0.007927/0.03474, allocations: 6.786 MB / 276.6 MB, free: 13.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.69289917498827]