Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001549/0.001549, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001811/0.001811, allocations: 163 kB / 25.7 MB, free: 8.406 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.9157/0.9157, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.551e-05, allocations: 6.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004313/0.004338, allocations: 3.308 MB / 254.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.006209, allocations: 1.415 MB / 256.3 MB, free: 2.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.006379, allocations: 7.938 kB / 256.3 MB, free: 2.512 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.008475, allocations: 2.666 MB / 258.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.008827, allocations: 194.5 kB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.009263, allocations: 283.4 kB / 259.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.01058, allocations: 1.594 MB / 261 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.01075, allocations: 108.3 kB / 261.1 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.01157, allocations: 492.9 kB / 261.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.01183, allocations: 287.3 kB / 261.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.01189, allocations: 44 kB / 261.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.01199, allocations: 75.86 kB / 262 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.0124, allocations: 0.8688 MB / 262.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.0127, allocations: 466.1 kB / 263.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00096/0.01366, allocations: 1.483 MB / 264.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01367, allocations: 0 / 264.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01367, allocations: 0 / 264.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.0137, allocations: 4 kB / 264.8 MB, free: 9.977 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002162/0.01586, allocations: 2.631 MB / 267.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.01589, allocations: 16.03 kB / 267.4 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.0161, allocations: 180.7 kB / 267.6 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.01698, allocations: 1.121 MB / 268.7 MB, free: 5.953 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.01705, allocations: 110.7 kB / 268.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.963e-05/0.01715, allocations: 44.73 kB / 268.9 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.01745, allocations: 359 kB / 269.2 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01746, allocations: 3.938 kB / 269.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.01749, allocations: 16 kB / 269.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01749, allocations: 12 kB / 269.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.01766, allocations: 138.9 kB / 269.4 MB, free: 5.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.0196, allocations: 1.423 MB / 270.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.01987, allocations: 208.9 kB / 271 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.01996, allocations: 85.62 kB / 271.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.01999, allocations: 8 kB / 271.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.02001, allocations: 42.5 kB / 271.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.02001, allocations: 0 / 271.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001978/0.02199, allocations: 1.133 MB / 272.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.02203, allocations: 85.61 kB / 272.4 MB, free: 2.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.02424, allocations: 2.924 MB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.02427, allocations: 37.64 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.02455, allocations: 0.5335 MB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.02464, allocations: 170.5 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.02473, allocations: 90.14 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.0248, allocations: 325.9 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.02488, allocations: 44.97 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.02498, allocations: 133.1 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.02518, allocations: 228.3 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.02518, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003676/0.02555, allocations: 366.2 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.02557, allocations: 8.25 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.02558, allocations: 4 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.02559, allocations: 4 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.02586, allocations: 119.8 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.02586, allocations: 4 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.02604, allocations: 15.98 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.02606, allocations: 16 kB / 277.4 MB, free: 13.02 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.0002119/0.02628, allocations: 140.5 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.02642, allocations: 159.8 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.02691, allocations: 479.9 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.02692, allocations: 8 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02692, allocations: 11.88 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.02692, allocations: 0 / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.02759, allocations: 0.7159 MB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.0276, allocations: 0 / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.02782, allocations: 87.89 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.02797, allocations: 68.72 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.02799, allocations: 12 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004739/0.02846, allocations: 0.8251 MB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.02847, allocations: 0 / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.02901, allocations: 0.6465 MB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.02932, allocations: 330 kB / 280.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.02942, allocations: 16.03 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.02964, allocations: 15.98 kB / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.02969, allocations: 28.44 kB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.0297, allocations: 15.94 kB / 280.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001082/0.03079, allocations: 1.44 MB / 282.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03079, allocations: 0 / 282.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.03116, allocations: 204 kB / 282.5 MB, free: 7.754 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.001055/0.03221, allocations: 0.5106 MB / 283 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.03245, allocations: 208.1 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-05/0.03247, allocations: 31.94 kB / 283.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.03263, allocations: 133.8 kB / 283.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.03322, allocations: 195.4 kB / 283.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.0369, allocations: 3.856 MB / 287.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.03734, allocations: 0.5551 MB / 288 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.03758, allocations: 171.4 kB / 288.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.03789, allocations: 227.3 kB / 288.4 MB, free: 1.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03789, allocations: 0 / 288.4 MB, free: 1.82 MB / 266.7 MB Notification: Performance of Templates: time 0.02222/0.06011, allocations: 16.01 MB / 304.4 MB, free: 1.781 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.917263917159289]