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.001012/0.001012, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0008767/0.0008767, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.9749/0.9749, allocations: 173.4 MB / 201.1 MB, free: 9.332 MB / 186.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 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.463e-05, allocations: 10.19 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003581/0.003605, allocations: 3.414 MB / 271.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.005634, allocations: 1.441 MB / 272.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.005883, allocations: 4 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.008453, allocations: 2.662 MB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.00892, allocations: 194.4 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.009483, allocations: 311.2 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.0112, allocations: 1.817 MB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.01139, allocations: 83.7 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009617/0.01235, allocations: 490.9 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.01264, allocations: 295.3 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.01271, allocations: 44 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.01287, allocations: 87.91 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004224/0.01329, allocations: 0.861 MB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.0136, allocations: 474.1 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.01475, allocations: 1.483 MB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01476, allocations: 0 / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.01476, allocations: 4 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.01478, allocations: 0 / 281.6 MB, free: 8.781 MB / 266.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.002572/0.01735, allocations: 3.044 MB / 284.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01739, allocations: 8.922 kB / 284.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.01763, allocations: 327 kB / 285 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.01873, allocations: 1.303 MB / 286.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.01883, allocations: 110.7 kB / 286.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.01895, allocations: 52.69 kB / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.01938, allocations: 391.5 kB / 286.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.0194, allocations: 4 kB / 286.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.01942, allocations: 12 kB / 286.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01944, allocations: 12 kB / 286.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.01971, allocations: 189.8 kB / 287 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.02232, allocations: 2.657 MB / 289.7 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.02264, allocations: 246 kB / 289.9 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.02276, allocations: 103.9 kB / 290 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.02279, allocations: 15.86 kB / 290.1 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.02282, allocations: 41.39 kB / 290.1 MB, free: 20 kB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.02282, allocations: 0 / 290.1 MB, free: 20 kB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.1114/0.1342, allocations: 2.098 MB / 292.2 MB, free: 25.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.1343, allocations: 83.11 kB / 292.3 MB, free: 25.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.138, allocations: 3.452 MB / 295.7 MB, free: 24.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.138, allocations: 34.73 kB / 295.8 MB, free: 24.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008261/0.1388, allocations: 1.409 MB / 297.2 MB, free: 24.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.1389, allocations: 172 kB / 297.3 MB, free: 24.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.139, allocations: 99.84 kB / 297.4 MB, free: 24.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.1391, allocations: 0.4957 MB / 297.9 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1392, allocations: 71.16 kB / 298 MB, free: 23.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1394, allocations: 183.8 kB / 298.2 MB, free: 23.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.1397, allocations: 274.9 kB / 298.5 MB, free: 23.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1397, allocations: 4.312 kB / 298.5 MB, free: 23.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006862/0.1403, allocations: 0.589 MB / 299 MB, free: 23.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1404, allocations: 6.469 kB / 299.1 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1404, allocations: 2.406 kB / 299.1 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1404, allocations: 7.016 kB / 299.1 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.1407, allocations: 116.9 kB / 299.2 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1407, allocations: 4.75 kB / 299.2 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1409, allocations: 19.09 kB / 299.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.141, allocations: 22.02 kB / 299.2 MB, free: 23.39 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.0001859/0.1411, allocations: 189.6 kB / 299.4 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.1413, allocations: 293.5 kB / 299.7 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.1421, allocations: 0.5818 MB / 300.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1421, allocations: 5.562 kB / 300.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1421, allocations: 0 / 300.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1421, allocations: 4.062 kB / 300.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.1435, allocations: 1.526 MB / 301.8 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1435, allocations: 1.375 kB / 301.8 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1437, allocations: 93.59 kB / 301.9 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.144, allocations: 79.61 kB / 302 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.144, allocations: 13.89 kB / 302 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002982/0.1443, allocations: 0.8514 MB / 302.8 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1443, allocations: 0 / 302.8 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.1452, allocations: 0.9849 MB / 303.8 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.1455, allocations: 410.5 kB / 304.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.1457, allocations: 12.09 kB / 304.2 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1459, allocations: 14.72 kB / 304.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.146, allocations: 35.73 kB / 304.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.146, allocations: 14.09 kB / 304.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00189/0.1479, allocations: 2.028 MB / 306.3 MB, free: 19.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1479, allocations: 0 / 306.3 MB, free: 19.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004769/0.1484, allocations: 203.3 kB / 306.5 MB, free: 19.86 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.0008616/0.1492, allocations: 417.7 kB / 306.9 MB, free: 19.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.1496, allocations: 261.7 kB / 307.2 MB, free: 19.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1496, allocations: 1.75 kB / 307.2 MB, free: 19.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.1498, allocations: 160.8 kB / 307.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.1505, allocations: 186.2 kB / 307.5 MB, free: 19.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.1539, allocations: 3.963 MB / 311.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1542, allocations: 0.547 MB / 312 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.1544, allocations: 171.1 kB / 312.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1546, allocations: 96.39 kB / 312.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1546, allocations: 0 / 312.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Templates: time 0.02154/0.1761, allocations: 15.77 MB / 328.1 MB, free: 108 kB / 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 -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.924110467080027]