Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008392/0.0008392, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 145.4 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9391/0.9391, allocations: 173.4 MB / 202.2 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.525e-05, allocations: 5.266 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003376/0.003401, allocations: 2.81 MB / 272 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.005202, allocations: 1.194 MB / 273.2 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.005398, allocations: 4.688 kB / 273.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.005652, allocations: 72.08 kB / 273.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.006237, allocations: 233.1 kB / 273.5 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.006511, allocations: 113.4 kB / 273.6 MB, free: 5.379 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.006941, allocations: 479.3 kB / 274.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.007076, allocations: 56.91 kB / 274.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.007403, allocations: 275.4 kB / 274.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.007615, allocations: 179.5 kB / 274.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.007671, allocations: 40 kB / 274.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.007922, allocations: 151.9 kB / 274.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.007985, allocations: 91.7 kB / 274.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.00809, allocations: 139.6 kB / 275 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.008568, allocations: 390.6 kB / 275.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.008571, allocations: 4 kB / 275.4 MB, free: 3.605 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008572, allocations: 4 kB / 275.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.008579, allocations: 0 / 275.4 MB, free: 3.602 MB / 250.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.00101/0.009589, allocations: 0.7335 MB / 276.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.009623, allocations: 12.03 kB / 276.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.009719, allocations: 60.7 kB / 276.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.01001, allocations: 248.9 kB / 276.4 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.01008, allocations: 98.33 kB / 276.5 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.01019, allocations: 44.67 kB / 276.6 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.01052, allocations: 277 kB / 276.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.01053, allocations: 3.938 kB / 276.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.01055, allocations: 12 kB / 276.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.01056, allocations: 8 kB / 276.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.01077, allocations: 141.3 kB / 277 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.01189, allocations: 1.044 MB / 278 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.01215, allocations: 194 kB / 278.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.01224, allocations: 83.81 kB / 278.3 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.01226, allocations: 15.98 kB / 278.3 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.01229, allocations: 37.39 kB / 278.4 MB, free: 420 kB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.946e-06/0.0123, allocations: 3.938 kB / 278.4 MB, free: 416 kB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.004383/0.01668, allocations: 1.69 MB / 280.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.01672, allocations: 81.11 kB / 280.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.01693, allocations: 304.2 kB / 280.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.01696, allocations: 29.7 kB / 280.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01706, allocations: 223.3 kB / 280.7 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.01715, allocations: 154.7 kB / 280.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.01726, allocations: 91.73 kB / 280.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.01739, allocations: 0.5117 MB / 281.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.0175, allocations: 56.94 kB / 281.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.01763, allocations: 139.1 kB / 281.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.01789, allocations: 227.6 kB / 281.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01789, allocations: 0 / 281.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003812/0.01828, allocations: 296.8 kB / 282.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01829, allocations: 7.938 kB / 282.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.0183, allocations: 3.938 kB / 282.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01831, allocations: 4 kB / 282.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.01863, allocations: 120 kB / 282.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01864, allocations: 4 kB / 282.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.01882, allocations: 27.98 kB / 282.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.01884, allocations: 15.98 kB / 282.3 MB, free: 12.29 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.0001232/0.01896, allocations: 176.5 kB / 282.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.01904, allocations: 43.81 kB / 282.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.01978, allocations: 436.7 kB / 283 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.01979, allocations: 4 kB / 283 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01979, allocations: 7.938 kB / 283 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.0198, allocations: 3.984 kB / 283 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.02143, allocations: 0.8773 MB / 283.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.02143, allocations: 4 kB / 283.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.02168, allocations: 87.89 kB / 283.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007148/0.02239, allocations: 215.3 kB / 284.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.02243, allocations: 19.92 kB / 284.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.02447, allocations: 2.38 MB / 286.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.02447, allocations: 4 kB / 286.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.0254, allocations: 0.7394 MB / 287.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.02552, allocations: 75.64 kB / 287.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.02556, allocations: 8 kB / 287.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.02576, allocations: 23.98 kB / 287.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.02585, allocations: 48.36 kB / 287.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.02587, allocations: 15.92 kB / 287.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.02599, allocations: 205.1 kB / 287.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02599, allocations: 0 / 287.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004375/0.02643, allocations: 119.9 kB / 287.8 MB, free: 6.613 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.0002181/0.02665, allocations: 143.1 kB / 287.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.02699, allocations: 235.8 kB / 288.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02699, allocations: 0 / 288.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.02731, allocations: 345.2 kB / 288.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.02765, allocations: 52.06 kB / 288.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.02888, allocations: 0.8014 MB / 289.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.141e-05/0.02897, allocations: 106.6 kB / 289.4 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.0291, allocations: 38.97 kB / 289.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.02931, allocations: 126.2 kB / 289.6 MB, free: 4.695 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02931, allocations: 0 / 289.6 MB, free: 4.695 MB / 266.7 MB Notification: Performance of Templates: time 0.009064/0.03837, allocations: 6.829 MB / 296.4 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7542898561805487]