Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0007832/0.0007832, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.00179, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006986/0.0006986, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000881/0.00158, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9437/0.9437, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.047, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.065e-05, allocations: 3.859 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.008194/0.008214, allocations: 3.426 MB / 243 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008323/0.01654, allocations: 1.488 MB / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.01683, allocations: 4 kB / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009139/0.02597, allocations: 2.74 MB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.02652, allocations: 178.6 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.02718, allocations: 307.2 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005205/0.03238, allocations: 1.598 MB / 249.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.03261, allocations: 88.34 kB / 249.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.03364, allocations: 0.5815 MB / 249.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.03397, allocations: 303.2 kB / 250.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.03403, allocations: 44 kB / 250.3 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.03417, allocations: 91.91 kB / 250.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.0346, allocations: 0.8085 MB / 251.2 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.0349, allocations: 370.3 kB / 251.5 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.03596, allocations: 1.448 MB / 253 MB, free: 5.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.03598, allocations: 0 / 253 MB, free: 5.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.03598, allocations: 0 / 253 MB, free: 5.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.133e-05/0.03604, allocations: 3.938 kB / 253 MB, free: 5.715 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.003206/0.03925, allocations: 2.986 MB / 256 MB, free: 2.688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.03928, allocations: 11.98 kB / 256 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.03951, allocations: 180.7 kB / 256.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.04051, allocations: 1.121 MB / 257.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.04059, allocations: 110.7 kB / 257.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.0407, allocations: 56.62 kB / 257.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.04104, allocations: 359 kB / 257.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.04105, allocations: 0 / 257.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.04107, allocations: 16 kB / 257.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.04108, allocations: 8 kB / 257.8 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.04125, allocations: 142.8 kB / 258 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.04288, allocations: 1.427 MB / 259.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.04336, allocations: 201 kB / 259.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.04344, allocations: 85.41 kB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.04347, allocations: 7.859 kB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.04349, allocations: 42.55 kB / 259.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.04349, allocations: 0 / 259.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001927/0.04542, allocations: 1.164 MB / 260.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.04546, allocations: 85.55 kB / 261 MB, free: 13.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.04757, allocations: 2.924 MB / 263.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.04759, allocations: 37.73 kB / 263.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.0479, allocations: 0.5296 MB / 264.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.04799, allocations: 170.5 kB / 264.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.04808, allocations: 90.09 kB / 264.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.04817, allocations: 329.9 kB / 265 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.04823, allocations: 48.97 kB / 265.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.04833, allocations: 129.1 kB / 265.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.04854, allocations: 228.3 kB / 265.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.04854, allocations: 4 kB / 265.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003679/0.04891, allocations: 358.2 kB / 265.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.04893, allocations: 8.25 kB / 265.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.04893, allocations: 4 kB / 265.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.04895, allocations: 11.88 kB / 265.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.04929, allocations: 151.8 kB / 266 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.0493, allocations: 8 kB / 266 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.04948, allocations: 15.98 kB / 266 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.0495, allocations: 15.94 kB / 266 MB, free: 8.344 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.0002042/0.04971, allocations: 144.5 kB / 266.1 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.04985, allocations: 159.8 kB / 266.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.05065, allocations: 483.8 kB / 266.8 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.05066, allocations: 7.938 kB / 266.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.05066, allocations: 4 kB / 266.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.05067, allocations: 3.984 kB / 266.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.05135, allocations: 0.7081 MB / 267.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.05135, allocations: 4 kB / 267.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.05165, allocations: 130.8 kB / 267.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.05196, allocations: 334 kB / 267.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.05214, allocations: 68.77 kB / 268 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.05216, allocations: 15.98 kB / 268 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005136/0.05268, allocations: 0.8251 MB / 268.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.05268, allocations: 4 kB / 268.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.05326, allocations: 0.6464 MB / 269.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.05337, allocations: 12 kB / 269.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.05358, allocations: 19.98 kB / 269.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.05363, allocations: 32.44 kB / 269.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.05365, allocations: 8.031 kB / 269.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.05474, allocations: 1.44 MB / 271 MB, free: 3.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05474, allocations: 3.938 kB / 271 MB, free: 3.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000375/0.05511, allocations: 208 kB / 271.2 MB, free: 3.031 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.001292/0.0564, allocations: 0.552 MB / 271.8 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.05667, allocations: 216.1 kB / 272 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.934e-05/0.0567, allocations: 35.88 kB / 272 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.05687, allocations: 145.7 kB / 272.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.05752, allocations: 279.5 kB / 272.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/0.1617, allocations: 3.852 MB / 276.3 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.1623, allocations: 0.5596 MB / 276.8 MB, free: 23.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.1627, allocations: 175.6 kB / 277 MB, free: 23.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.1631, allocations: 240 kB / 277.3 MB, free: 23.89 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1631, allocations: 0 / 277.3 MB, free: 23.89 MB / 266.7 MB Notification: Performance of Templates: time 0.02495/0.1881, allocations: 16.53 MB / 293.8 MB, free: 17.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8647514544427395]