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.001796/0.001796, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001952/0.001952, allocations: 169.3 kB / 24.28 MB, free: 152 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.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.673e-06/1.673e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.585e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004892/0.004928, allocations: 2.837 MB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.007642, allocations: 1.242 MB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.007806, allocations: 7.938 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.008098, allocations: 63.44 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005988/0.008697, allocations: 234.5 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.009012, allocations: 131.7 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005881/0.0096, allocations: 486.8 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.009758, allocations: 52.89 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.0102, allocations: 267.5 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.01052, allocations: 179.5 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.0106, allocations: 40 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.01092, allocations: 163.8 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.01104, allocations: 95.69 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.01122, allocations: 135.6 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.01206, allocations: 0.5529 MB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01207, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01207, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.01207, allocations: 4 kB / 278.8 MB, free: 11.35 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.001793/0.01387, allocations: 0.7527 MB / 279.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.01391, allocations: 8.031 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.01415, allocations: 64.73 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.01465, allocations: 277.3 kB / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.01477, allocations: 102.3 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.01496, allocations: 36.7 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.01563, allocations: 360.3 kB / 280.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.01565, allocations: 7.938 kB / 280.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.01568, allocations: 12 kB / 280.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01569, allocations: 4 kB / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.01637, allocations: 285.8 kB / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.01838, allocations: 1.188 MB / 281.8 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.019, allocations: 297.9 kB / 282.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.01931, allocations: 147.3 kB / 282.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.01935, allocations: 8 kB / 282.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.01939, allocations: 45.33 kB / 282.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.01939, allocations: 0 / 282.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.009197/0.02858, allocations: 2.218 MB / 284.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.02865, allocations: 81.11 kB / 284.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.02909, allocations: 364.2 kB / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.02913, allocations: 33.7 kB / 285 MB, free: 4.805 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.0293, allocations: 223.4 kB / 285.2 MB, free: 4.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.02946, allocations: 162.6 kB / 285.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.02964, allocations: 91.83 kB / 285.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003058/0.02994, allocations: 0.5235 MB / 286 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.03032, allocations: 152.9 kB / 286.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.03079, allocations: 263 kB / 286.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008436/0.03163, allocations: 415.4 kB / 286.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.03164, allocations: 4 kB / 286.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001042/0.03268, allocations: 492.7 kB / 287.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.0327, allocations: 11.94 kB / 287.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.03271, allocations: 0 / 287.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.03273, allocations: 4 kB / 287.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.03332, allocations: 116 kB / 287.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.03333, allocations: 4 kB / 287.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.03369, allocations: 27.98 kB / 287.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.03373, allocations: 23.92 kB / 287.5 MB, free: 2.246 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.0002039/0.03394, allocations: 192.5 kB / 287.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.03406, allocations: 51.7 kB / 287.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.03591, allocations: 0.6295 MB / 288.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.03592, allocations: 11.94 kB / 288.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.03593, allocations: 0 / 288.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.03594, allocations: 7.984 kB / 288.4 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.03921, allocations: 1.181 MB / 289.6 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.03922, allocations: 7.938 kB / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.03967, allocations: 83.89 kB / 289.6 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1253/0.165, allocations: 270.1 kB / 289.9 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.1651, allocations: 12.16 kB / 289.9 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/0.1687, allocations: 2.869 MB / 292.8 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1687, allocations: 1.094 kB / 292.8 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.1709, allocations: 1.082 MB / 293.9 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1711, allocations: 79.92 kB / 293.9 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.1712, allocations: 8.031 kB / 294 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.1716, allocations: 23.42 kB / 294 MB, free: 25.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.1717, allocations: 41.3 kB / 294 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.1717, allocations: 11.12 kB / 294 MB, free: 25.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.1719, allocations: 263.5 kB / 294.3 MB, free: 25.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1719, allocations: 0 / 294.3 MB, free: 25.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000546/0.1725, allocations: 117.5 kB / 294.4 MB, free: 25.5 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.0002679/0.1728, allocations: 143.4 kB / 294.5 MB, free: 25.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009082/0.1737, allocations: 429.4 kB / 295 MB, free: 25.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1737, allocations: 0 / 295 MB, free: 25.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.1744, allocations: 450.8 kB / 295.4 MB, free: 25.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.1748, allocations: 44.39 kB / 295.4 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1763, allocations: 0.8665 MB / 296.3 MB, free: 24.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.1765, allocations: 182.2 kB / 296.5 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.1767, allocations: 43.58 kB / 296.5 MB, free: 24.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1768, allocations: 40.39 kB / 296.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1768, allocations: 0 / 296.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01189/0.1887, allocations: 6.286 MB / 302.9 MB, free: 22.48 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.78241338103544]