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.001624/0.001624, allocations: 88.62 kB / 21.44 MB, free: 276 kB / 14.72 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.001989/0.001989, allocations: 164.4 kB / 24.71 MB, free: 3.527 MB / 14.72 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 1.365/1.365, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] 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.713e-06/1.713e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.737e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004201/0.004229, allocations: 2.598 MB / 301.6 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.006519, allocations: 1.181 MB / 302.7 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.006729, allocations: 7.938 kB / 302.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.007035, allocations: 71.36 kB / 302.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.007679, allocations: 226.6 kB / 303 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.008021, allocations: 123.7 kB / 303.2 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.008723, allocations: 478.9 kB / 303.6 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.008915, allocations: 60.83 kB / 303.7 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.009425, allocations: 279.3 kB / 304 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.009763, allocations: 167.6 kB / 304.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.009859, allocations: 40 kB / 304.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.01023, allocations: 159.9 kB / 304.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.01036, allocations: 95.64 kB / 304.4 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.01055, allocations: 131.7 kB / 304.5 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008123/0.01136, allocations: 0.5413 MB / 305.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.01137, allocations: 4 kB / 305.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.01137, allocations: 0 / 305.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01138, allocations: 0 / 305.1 MB, free: 2.555 MB / 286.1 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.00196/0.01334, allocations: 0.6375 MB / 305.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/0.01341, allocations: 11.98 kB / 305.7 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01353, allocations: 40.75 kB / 305.8 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000669/0.0142, allocations: 274.8 kB / 306 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.01437, allocations: 102.3 kB / 306.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.01456, allocations: 40.69 kB / 306.2 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.01534, allocations: 343.8 kB / 306.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.01536, allocations: 7.875 kB / 306.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.0154, allocations: 11.98 kB / 306.5 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.01542, allocations: 12 kB / 306.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.01619, allocations: 293.8 kB / 306.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.0181, allocations: 0.9998 MB / 307.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.01877, allocations: 285 kB / 308.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.0191, allocations: 156.1 kB / 308.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.01913, allocations: 4 kB / 308.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.01917, allocations: 42.5 kB / 308.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.01917, allocations: 0 / 308.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.009637/0.02881, allocations: 2.262 MB / 310.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.02887, allocations: 85.11 kB / 310.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.02924, allocations: 297.6 kB / 310.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.02929, allocations: 29.7 kB / 311 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02942, allocations: 168.7 kB / 311.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.02955, allocations: 150.7 kB / 311.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.0297, allocations: 82.12 kB / 311.4 MB, free: 12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.02987, allocations: 338.8 kB / 311.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.03029, allocations: 160.9 kB / 311.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.03075, allocations: 235.2 kB / 312.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009018/0.03166, allocations: 411.6 kB / 312.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.03166, allocations: 3.938 kB / 312.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001116/0.03278, allocations: 484.5 kB / 313 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.0328, allocations: 12.11 kB / 313 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.03281, allocations: 8 kB / 313 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.03283, allocations: 3.938 kB / 313 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.03345, allocations: 115.9 kB / 313.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.03346, allocations: 4 kB / 313.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.03386, allocations: 27.98 kB / 313.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.0339, allocations: 23.98 kB / 313.2 MB, free: 10.15 MB / 302.1 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.0001959/0.0341, allocations: 153.7 kB / 313.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.0342, allocations: 39.73 kB / 313.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.03614, allocations: 0.6424 MB / 314 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.03615, allocations: 7.938 kB / 314 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.03616, allocations: 4 kB / 314 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.03617, allocations: 0 / 314 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.03929, allocations: 1.132 MB / 315.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.0393, allocations: 7.938 kB / 315.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.03978, allocations: 79.89 kB / 315.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.04138, allocations: 272.5 kB / 315.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.04142, allocations: 12 kB / 315.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.04554, allocations: 2.29 MB / 317.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.04555, allocations: 8.016 kB / 317.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.04792, allocations: 0.998 MB / 318.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.04809, allocations: 71.75 kB / 318.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.04816, allocations: 12 kB / 318.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.04861, allocations: 35.91 kB / 318.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.04873, allocations: 44.38 kB / 318.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.04877, allocations: 15.98 kB / 319 MB, free: 4.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.049, allocations: 209.2 kB / 319.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.049, allocations: 4 kB / 319.2 MB, free: 3.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005624/0.04956, allocations: 115.9 kB / 319.3 MB, free: 3.836 MB / 302.1 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.0002963/0.04986, allocations: 139.1 kB / 319.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.05084, allocations: 402.9 kB / 319.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.05085, allocations: 0 / 319.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.0516, allocations: 365.9 kB / 320.2 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.05209, allocations: 36.48 kB / 320.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.05388, allocations: 0.8501 MB / 321.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.05407, allocations: 187.1 kB / 321.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.05425, allocations: 34.97 kB / 321.3 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.0544, allocations: 36.47 kB / 321.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.05441, allocations: 0 / 321.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of Templates: time 0.1577/0.2121, allocations: 6.111 MB / 327.4 MB, free: 33.96 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.579656485468149]