Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001008/0.001008, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001089/0.001089, allocations: 168.5 kB / 24.82 MB, free: 8.32 MB / 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 0.9507/0.9507, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.478e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.006384/0.006399, allocations: 2.829 MB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.01105, allocations: 1.246 MB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.0112, allocations: 7.938 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.01142, allocations: 63.44 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.01189, allocations: 238.4 kB / 277.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.01213, allocations: 131.7 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.01251, allocations: 478.9 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.01264, allocations: 60.88 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.01295, allocations: 263.5 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.01317, allocations: 183.5 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.01322, allocations: 40 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.01648, allocations: 163.8 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.01654, allocations: 87.7 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.01666, allocations: 143.6 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.01708, allocations: 398.6 kB / 279.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.01708, allocations: 4 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01708, allocations: 0 / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.01708, allocations: 0 / 279.7 MB, free: 11 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.001015/0.0181, allocations: 0.7335 MB / 280.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01814, allocations: 12.03 kB / 280.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.01829, allocations: 72.73 kB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.01857, allocations: 252.8 kB / 280.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.01865, allocations: 102.3 kB / 280.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.01875, allocations: 40.73 kB / 280.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.0191, allocations: 281 kB / 281.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01911, allocations: 3.938 kB / 281.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.01914, allocations: 12 kB / 281.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.01914, allocations: 7.938 kB / 281.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.02238, allocations: 145.3 kB / 281.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.02349, allocations: 1.032 MB / 282.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.02374, allocations: 209.2 kB / 282.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.02385, allocations: 87.31 kB / 282.6 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.02387, allocations: 19.92 kB / 282.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.0239, allocations: 45.33 kB / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.0239, allocations: 0 / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.01055/0.03445, allocations: 1.672 MB / 284.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.03448, allocations: 81.11 kB / 284.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.03469, allocations: 304.2 kB / 284.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.03472, allocations: 29.7 kB / 284.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.03482, allocations: 227.3 kB / 285 MB, free: 5.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.03492, allocations: 150.7 kB / 285.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.03503, allocations: 87.78 kB / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.03517, allocations: 0.5079 MB / 285.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.03528, allocations: 56.94 kB / 285.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.03543, allocations: 151 kB / 285.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.03572, allocations: 223.5 kB / 286.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.03572, allocations: 3.938 kB / 286.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004281/0.03615, allocations: 300.7 kB / 286.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.03616, allocations: 4 kB / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.03617, allocations: 11.92 kB / 286.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.03618, allocations: 4 kB / 286.5 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.03655, allocations: 108.1 kB / 286.6 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.03656, allocations: 11.92 kB / 286.6 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.03675, allocations: 27.95 kB / 286.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.03678, allocations: 15.98 kB / 286.6 MB, free: 3.656 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 0.0001229/0.0369, allocations: 176.5 kB / 286.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.037, allocations: 43.8 kB / 286.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/0.04082, allocations: 436.6 kB / 287.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.04083, allocations: 8 kB / 287.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.04083, allocations: 7.922 kB / 287.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.04084, allocations: 0 / 287.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.04242, allocations: 0.8656 MB / 288.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.04243, allocations: 8 kB / 288.2 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.0427, allocations: 87.88 kB / 288.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/0.04484, allocations: 223.3 kB / 288.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.04487, allocations: 15.92 kB / 288.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1171/0.162, allocations: 2.372 MB / 290.9 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.162, allocations: 2.438 kB / 290.9 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1633, allocations: 0.7475 MB / 291.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1635, allocations: 70.19 kB / 291.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.1635, allocations: 9.969 kB / 291.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.1637, allocations: 24.66 kB / 291.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.1638, allocations: 39.05 kB / 291.8 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1639, allocations: 14.84 kB / 291.8 MB, free: 23.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.164, allocations: 212.5 kB / 292 MB, free: 22.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.164, allocations: 0 / 292 MB, free: 22.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.1644, allocations: 120.4 kB / 292.1 MB, free: 22.96 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.0002384/0.1646, allocations: 147.5 kB / 292.2 MB, free: 22.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.165, allocations: 234.1 kB / 292.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.165, allocations: 2.031 kB / 292.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.1653, allocations: 343.5 kB / 292.8 MB, free: 22.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.1656, allocations: 53.16 kB / 292.9 MB, free: 22.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1669, allocations: 0.7943 MB / 293.7 MB, free: 22.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.446e-05/0.1669, allocations: 104.2 kB / 293.8 MB, free: 22.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1671, allocations: 44.42 kB / 293.8 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1672, allocations: 127.6 kB / 293.9 MB, free: 22.17 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1672, allocations: 0 / 293.9 MB, free: 22.17 MB / 266.7 MB Notification: Performance of Templates: time 0.009404/0.1766, allocations: 6.641 MB / 300.6 MB, free: 20.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.746027272194624]