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.001155/0.001155, allocations: 85.95 kB / 23 MB, free: 1.504 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.001285/0.001285, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.9279/0.9279, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.683e-06/1.683e-06, allocations: 3.938 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.916e-05, allocations: 2.312 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003089/0.003108, allocations: 2.751 MB / 255 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.004526, allocations: 1.239 MB / 256.3 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.004642, allocations: 4 kB / 256.3 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.00485, allocations: 67.31 kB / 256.3 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.005238, allocations: 230.6 kB / 256.5 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.005407, allocations: 123.6 kB / 256.7 MB, free: 2.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.005756, allocations: 470.9 kB / 257.1 MB, free: 2.344 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.005877, allocations: 60.83 kB / 257.2 MB, free: 2.281 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.006118, allocations: 263.5 kB / 257.4 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.006316, allocations: 175.6 kB / 257.6 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.006367, allocations: 44 kB / 257.7 MB, free: 1.809 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.006563, allocations: 155.9 kB / 257.8 MB, free: 1.656 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.006623, allocations: 91.64 kB / 257.9 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.006721, allocations: 131.7 kB / 258 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.007093, allocations: 398.6 kB / 258.4 MB, free: 1.043 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007095, allocations: 0 / 258.4 MB, free: 1.043 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007096, allocations: 0 / 258.4 MB, free: 1.043 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.007101, allocations: 0 / 258.4 MB, free: 1.043 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.0008948/0.007996, allocations: 0.7452 MB / 259.2 MB, free: 268 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.008022, allocations: 11.98 kB / 259.2 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.008099, allocations: 56.75 kB / 259.2 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.008333, allocations: 241.2 kB / 259.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.008407, allocations: 114.2 kB / 259.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.008493, allocations: 36.7 kB / 259.6 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.008799, allocations: 288.9 kB / 259.9 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.008811, allocations: 3.938 kB / 259.9 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.008832, allocations: 8 kB / 259.9 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.008838, allocations: 8 kB / 259.9 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.009031, allocations: 141.3 kB / 260.1 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.009984, allocations: 1.044 MB / 261.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.0102, allocations: 194 kB / 261.3 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.01029, allocations: 87.23 kB / 261.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.01031, allocations: 4 kB / 261.4 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01033, allocations: 41.39 kB / 261.4 MB, free: 13.83 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.192e-06/0.01033, allocations: 0 / 261.4 MB, free: 13.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.004031/0.01436, allocations: 1.68 MB / 263.1 MB, free: 12.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.0144, allocations: 81.11 kB / 263.2 MB, free: 12.01 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.01461, allocations: 304.1 kB / 263.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.01464, allocations: 29.7 kB / 263.5 MB, free: 11.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01475, allocations: 223.4 kB / 263.7 MB, free: 11.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.01484, allocations: 150.6 kB / 263.9 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01495, allocations: 83.8 kB / 263.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.01511, allocations: 0.5156 MB / 264.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.0152, allocations: 52.95 kB / 264.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.01534, allocations: 155 kB / 264.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.01558, allocations: 223.4 kB / 264.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01558, allocations: 0 / 264.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003542/0.01594, allocations: 308.6 kB / 265.2 MB, free: 9.891 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.01595, allocations: 8.031 kB / 265.2 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01595, allocations: 7.938 kB / 265.2 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.01596, allocations: 4 kB / 265.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.01625, allocations: 107.9 kB / 265.3 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.01625, allocations: 4 kB / 265.3 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.01642, allocations: 27.98 kB / 265.3 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.01644, allocations: 19.98 kB / 265.4 MB, free: 9.715 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 0.0001192/0.01656, allocations: 180.5 kB / 265.5 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.01664, allocations: 39.81 kB / 265.6 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/0.01737, allocations: 432.7 kB / 266 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01737, allocations: 12 kB / 266 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01737, allocations: 7.875 kB / 266 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.01738, allocations: 3.984 kB / 266 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.01874, allocations: 0.8695 MB / 266.9 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01874, allocations: 4 kB / 266.9 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.01895, allocations: 83.89 kB / 267 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.01962, allocations: 235.2 kB / 267.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.01965, allocations: 15.94 kB / 267.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.02147, allocations: 2.373 MB / 269.6 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02147, allocations: 0 / 269.6 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.02231, allocations: 0.7471 MB / 270.3 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.02241, allocations: 75.78 kB / 270.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.02245, allocations: 8 kB / 270.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.02264, allocations: 23.98 kB / 270.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.02271, allocations: 40.42 kB / 270.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.02273, allocations: 7.938 kB / 270.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.02284, allocations: 213.1 kB / 270.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02284, allocations: 0 / 270.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.0232, allocations: 115.9 kB / 270.8 MB, free: 4.055 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.0001986/0.0234, allocations: 143.1 kB / 271 MB, free: 3.906 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.0237, allocations: 227.7 kB / 271.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0237, allocations: 384 / 271.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.02401, allocations: 356.2 kB / 271.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.02431, allocations: 40.55 kB / 271.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.0254, allocations: 0.8053 MB / 272.4 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.02547, allocations: 102.6 kB / 272.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.02559, allocations: 46.94 kB / 272.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.02577, allocations: 126.2 kB / 272.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02577, allocations: 0 / 272.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of Templates: time 0.009155/0.03493, allocations: 6.826 MB / 279.5 MB, free: 11.33 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 -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.8833923689089715]