Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0008247/0.0008247, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001961, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007275/0.0007275, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008946/0.001622, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9324/0.9324, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07757/1.01, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.304e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003181/0.003194, allocations: 3.473 MB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.00485, allocations: 1.682 MB / 249.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.004982, allocations: 7.938 kB / 249.7 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.006881, allocations: 2.74 MB / 252.4 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.007191, allocations: 226.3 kB / 252.6 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.007591, allocations: 326 kB / 253 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.008789, allocations: 1.618 MB / 254.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.008939, allocations: 97 kB / 254.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007992/0.009739, allocations: 0.599 MB / 255.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.009983, allocations: 299.3 kB / 255.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.01004, allocations: 44 kB / 255.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.01018, allocations: 87.92 kB / 255.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.01055, allocations: 0.8162 MB / 256.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.0108, allocations: 370.3 kB / 256.9 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009223/0.01172, allocations: 1.467 MB / 258.3 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.01173, allocations: 0 / 258.3 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01174, allocations: 0 / 258.3 MB, free: 480 kB / 250.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.01176, allocations: 0 / 258.3 MB, free: 480 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002269/0.01403, allocations: 3.005 MB / 261.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.01406, allocations: 12.03 kB / 261.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.01432, allocations: 265.8 kB / 261.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/0.01524, allocations: 1.141 MB / 262.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.01532, allocations: 106.7 kB / 262.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.01543, allocations: 60.62 kB / 262.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.01574, allocations: 355 kB / 263.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.01576, allocations: 4 kB / 263.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.01578, allocations: 12 kB / 263.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01578, allocations: 12 kB / 263.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.01596, allocations: 142.8 kB / 263.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.01751, allocations: 1.42 MB / 264.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.01772, allocations: 197 kB / 265.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.01779, allocations: 78.28 kB / 265.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.01782, allocations: 15.86 kB / 265.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01784, allocations: 34.56 kB / 265.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.01785, allocations: 0 / 265.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.00181/0.01966, allocations: 1.171 MB / 266.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.01969, allocations: 89.55 kB / 266.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.02182, allocations: 2.964 MB / 269.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.02184, allocations: 29.7 kB / 269.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.02213, allocations: 0.5414 MB / 270 MB, free: 4.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.02221, allocations: 170.5 kB / 270.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.02229, allocations: 90.11 kB / 270.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.02237, allocations: 341.9 kB / 270.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.02243, allocations: 48.97 kB / 270.6 MB, free: 3.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.02253, allocations: 125.2 kB / 270.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.02271, allocations: 224.3 kB / 270.9 MB, free: 3.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.02272, allocations: 4 kB / 271 MB, free: 3.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003171/0.02303, allocations: 358.2 kB / 271.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.02305, allocations: 8 kB / 271.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.02305, allocations: 0 / 271.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.02306, allocations: 11.88 kB / 271.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.0234, allocations: 165.5 kB / 271.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.0234, allocations: 4 kB / 271.5 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.02357, allocations: 12 kB / 271.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.02359, allocations: 15.98 kB / 271.5 MB, free: 2.914 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.0001935/0.02378, allocations: 140.5 kB / 271.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.02392, allocations: 163.8 kB / 271.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.02441, allocations: 492 kB / 272.3 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02441, allocations: 8 kB / 272.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.02441, allocations: 0 / 272.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.02442, allocations: 3.984 kB / 272.3 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.02504, allocations: 0.716 MB / 273 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02505, allocations: 4 kB / 273 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.02532, allocations: 127.8 kB / 273.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.02561, allocations: 334 kB / 273.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/0.02577, allocations: 68.78 kB / 273.5 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.02579, allocations: 11.98 kB / 273.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09783/0.1236, allocations: 0.8303 MB / 274.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1236, allocations: 0 / 274.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008628/0.1245, allocations: 0.6534 MB / 275 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.1246, allocations: 10.83 kB / 275 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.1249, allocations: 16.97 kB / 275.1 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.1249, allocations: 33.42 kB / 275.1 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.125, allocations: 13.47 kB / 275.1 MB, free: 19.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.1264, allocations: 1.449 MB / 276.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1264, allocations: 1.094 kB / 276.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.1269, allocations: 207.7 kB / 276.8 MB, free: 18.97 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.128, allocations: 0.5564 MB / 277.3 MB, free: 18.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.1283, allocations: 217.2 kB / 277.5 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-05/0.1283, allocations: 35.75 kB / 277.6 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.1285, allocations: 136.5 kB / 277.7 MB, free: 18.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.1291, allocations: 286 kB / 278 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.1348, allocations: 3.885 MB / 281.9 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.1353, allocations: 0.5661 MB / 282.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.1355, allocations: 174 kB / 282.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.1359, allocations: 240 kB / 282.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1359, allocations: 2.219 kB / 282.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of Templates: time 0.02059/0.1565, allocations: 16.61 MB / 299.4 MB, free: 7.141 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.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.8386956742033362]