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.000875/0.000875, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006908/0.007783, allocations: 445.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.0008727/0.0008727, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.00199, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9243/0.9243, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.172/1.096, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.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 2.214e-06/2.214e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.422e-05, allocations: 6.25 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00558/0.005604, allocations: 3.351 MB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.007787, allocations: 1.427 MB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.008043, allocations: 7.938 kB / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.01011, allocations: 2.74 MB / 229.4 MB, free: 8.605 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.01052, allocations: 182.5 kB / 229.5 MB, free: 8.426 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.01099, allocations: 291.3 kB / 229.8 MB, free: 8.141 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.01216, allocations: 1.591 MB / 231.4 MB, free: 6.547 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.01233, allocations: 100.3 kB / 231.5 MB, free: 6.445 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009415/0.01327, allocations: 0.5755 MB / 232.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.01356, allocations: 291.2 kB / 232.4 MB, free: 5.602 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.01362, allocations: 44 kB / 232.4 MB, free: 5.559 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.01375, allocations: 71.92 kB / 232.5 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.01415, allocations: 0.8124 MB / 233.3 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.01446, allocations: 374.3 kB / 233.7 MB, free: 4.305 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01551, allocations: 1.452 MB / 235.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.01552, allocations: 0 / 235.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01552, allocations: 0 / 235.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.01556, allocations: 0 / 235.1 MB, free: 2.848 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002479/0.01804, allocations: 2.974 MB / 238.1 MB, free: 15.83 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.01807, allocations: 8.031 kB / 238.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.01827, allocations: 180.7 kB / 238.3 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.01919, allocations: 1.121 MB / 239.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.01927, allocations: 110.7 kB / 239.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.01938, allocations: 52.61 kB / 239.6 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.0197, allocations: 363 kB / 239.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.01971, allocations: 4 kB / 239.9 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.01973, allocations: 12 kB / 239.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01973, allocations: 8 kB / 239.9 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.01991, allocations: 142.8 kB / 240.1 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.02147, allocations: 1.423 MB / 241.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.0217, allocations: 207.4 kB / 241.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.02179, allocations: 85.5 kB / 241.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.02182, allocations: 8 kB / 241.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.02185, allocations: 42.55 kB / 241.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.02185, allocations: 4 kB / 241.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001846/0.02369, allocations: 1.138 MB / 243 MB, free: 10.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.02373, allocations: 85.61 kB / 243.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.02604, allocations: 2.916 MB / 246 MB, free: 7.711 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.02606, allocations: 33.7 kB / 246 MB, free: 7.672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.02636, allocations: 0.5296 MB / 246.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/0.02645, allocations: 182.4 kB / 246.7 MB, free: 6.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.02655, allocations: 82.16 kB / 246.8 MB, free: 6.867 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.02666, allocations: 329.9 kB / 247.1 MB, free: 6.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.02673, allocations: 48.98 kB / 247.2 MB, free: 6.488 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.02684, allocations: 129.1 kB / 247.3 MB, free: 6.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.02706, allocations: 232.3 kB / 247.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.02706, allocations: 0 / 247.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004283/0.02749, allocations: 374.2 kB / 247.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.02751, allocations: 4 kB / 247.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.02751, allocations: 4 kB / 247.9 MB, free: 5.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.02753, allocations: 4 kB / 247.9 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.02791, allocations: 151.6 kB / 248 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.02791, allocations: 4 kB / 248 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.02811, allocations: 15.98 kB / 248.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.02813, allocations: 20.16 kB / 248.1 MB, free: 5.508 MB / 250.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.000216/0.02835, allocations: 144.4 kB / 248.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.02849, allocations: 155.8 kB / 248.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.02898, allocations: 479.8 kB / 248.8 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.02898, allocations: 8 kB / 248.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.02898, allocations: 0 / 248.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.02899, allocations: 0 / 248.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.0297, allocations: 0.7274 MB / 249.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.02971, allocations: 4 kB / 249.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.03, allocations: 131.8 kB / 249.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.03034, allocations: 330 kB / 250 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.0305, allocations: 60.8 kB / 250.1 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.03051, allocations: 8 kB / 250.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004902/0.031, allocations: 0.8368 MB / 250.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.03101, allocations: 7.875 kB / 250.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.03158, allocations: 0.6386 MB / 251.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.03168, allocations: 8 kB / 251.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.03189, allocations: 15.98 kB / 251.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.03194, allocations: 32.44 kB / 251.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.03196, allocations: 12.03 kB / 251.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.03311, allocations: 1.44 MB / 253.1 MB, free: 420 kB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03311, allocations: 0 / 253.1 MB, free: 420 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004279/0.03354, allocations: 208 kB / 253.3 MB, free: 212 kB / 250.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.001219/0.03476, allocations: 0.5506 MB / 253.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.03503, allocations: 212.1 kB / 254 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.002e-05/0.03506, allocations: 35.94 kB / 254.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.03522, allocations: 133.8 kB / 254.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.0359, allocations: 286.8 kB / 254.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/0.04223, allocations: 3.872 MB / 258.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.04273, allocations: 0.5589 MB / 258.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004424/0.04317, allocations: 171.8 kB / 259.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.04353, allocations: 231.3 kB / 259.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.04353, allocations: 0 / 259.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of Templates: time 0.02462/0.06815, allocations: 16.53 MB / 275.8 MB, free: 9.52 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 -ignoreHideResult -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: 3.0382577143609524]