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.001757/0.001757, allocations: 87.67 kB / 21.73 MB, free: 2.672 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.001849/0.001849, allocations: 158.2 kB / 25.03 MB, free: 8.438 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 1.372/1.372, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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 2.906e-06/2.906e-06, allocations: 3.938 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.891e-05/4.182e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.006865/0.006907, allocations: 2.747 MB / 253.1 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.01024, allocations: 1.239 MB / 254.4 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.01049, allocations: 7.938 kB / 254.4 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.01085, allocations: 63.42 kB / 254.4 MB, free: 3.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008768/0.01173, allocations: 230.6 kB / 254.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.01216, allocations: 127.6 kB / 254.8 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008211/0.01298, allocations: 470.9 kB / 255.2 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.01321, allocations: 52.91 kB / 255.3 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.01377, allocations: 271.4 kB / 255.6 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.01422, allocations: 175.5 kB / 255.7 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.01433, allocations: 48 kB / 255.8 MB, free: 2.398 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.01481, allocations: 155.8 kB / 255.9 MB, free: 2.246 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.01496, allocations: 95.64 kB / 256 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.01522, allocations: 131.7 kB / 256.1 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.0163, allocations: 0.5451 MB / 256.7 MB, free: 1.473 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.0163, allocations: 0 / 256.7 MB, free: 1.473 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01631, allocations: 0 / 256.7 MB, free: 1.473 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01631, allocations: 0 / 256.7 MB, free: 1.473 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.002193/0.01851, allocations: 0.7528 MB / 257.4 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.01856, allocations: 11.98 kB / 257.5 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.01876, allocations: 60.7 kB / 257.5 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.0194, allocations: 261.6 kB / 257.8 MB, free: 336 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.01957, allocations: 102.3 kB / 257.9 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.0198, allocations: 32.73 kB / 257.9 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.02083, allocations: 364.3 kB / 258.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.02086, allocations: 11.83 kB / 258.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.02091, allocations: 12 kB / 258.3 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.02093, allocations: 8 kB / 258.3 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.02186, allocations: 281.8 kB / 258.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.02472, allocations: 1.2 MB / 259.8 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.02562, allocations: 290 kB / 260 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/0.02609, allocations: 159.2 kB / 260.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.02613, allocations: 4 kB / 260.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.02618, allocations: 37.39 kB / 260.2 MB, free: 13.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 3.717e-06/0.02619, allocations: 4 kB / 260.2 MB, free: 13.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.01011/0.03629, allocations: 2.223 MB / 262.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.03637, allocations: 81.11 kB / 262.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.03682, allocations: 364.2 kB / 262.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.03687, allocations: 33.7 kB / 262.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.03706, allocations: 223.4 kB / 263.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.03722, allocations: 158.7 kB / 263.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.0374, allocations: 103.8 kB / 263.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.0377, allocations: 0.5196 MB / 263.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.03811, allocations: 160.9 kB / 264.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.03857, allocations: 243.1 kB / 264.3 MB, free: 9.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.03945, allocations: 427.4 kB / 264.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.03945, allocations: 0 / 264.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001113/0.04056, allocations: 492.5 kB / 265.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.04058, allocations: 7.938 kB / 265.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.0406, allocations: 4 kB / 265.2 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.04062, allocations: 8.188 kB / 265.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.04126, allocations: 115.8 kB / 265.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.04127, allocations: 0 / 265.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.04165, allocations: 27.98 kB / 265.4 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.04169, allocations: 12 kB / 265.4 MB, free: 8.375 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.000362/0.04205, allocations: 200.5 kB / 265.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.04218, allocations: 55.75 kB / 265.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.0441, allocations: 0.6217 MB / 266.3 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.04411, allocations: 15.94 kB / 266.3 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.04411, allocations: 0 / 266.3 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.04412, allocations: 0 / 266.3 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.04744, allocations: 1.193 MB / 267.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.04744, allocations: 3.938 kB / 267.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.04791, allocations: 83.89 kB / 267.6 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.04959, allocations: 279.3 kB / 267.8 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.04963, allocations: 8 kB / 267.8 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004891/0.05452, allocations: 2.868 MB / 270.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.05452, allocations: 0 / 270.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.05703, allocations: 1.083 MB / 271.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.05724, allocations: 75.64 kB / 271.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.0573, allocations: 12.05 kB / 271.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.05775, allocations: 31.91 kB / 271.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.05788, allocations: 36.42 kB / 271.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.05791, allocations: 12 kB / 272 MB, free: 1.594 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002994/0.05821, allocations: 261.1 kB / 272.2 MB, free: 1.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05821, allocations: 0 / 272.2 MB, free: 1.34 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.0588, allocations: 111.9 kB / 272.3 MB, free: 1.23 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.0003245/0.05912, allocations: 139.1 kB / 272.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.06027, allocations: 431.6 kB / 272.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.06028, allocations: 0 / 272.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.06109, allocations: 444.3 kB / 273.3 MB, free: 212 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.06159, allocations: 48.86 kB / 273.4 MB, free: 164 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.0634, allocations: 0.8678 MB / 274.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.06362, allocations: 183.1 kB / 274.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.06381, allocations: 42.95 kB / 274.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.06396, allocations: 40.47 kB / 274.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.06397, allocations: 0 / 274.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of Templates: time 0.01366/0.07763, allocations: 6.27 MB / 280.8 MB, free: 8.723 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","/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.588900174945593]