Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 162.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9698/0.9698, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.031e-05, allocations: 2.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.0054/0.005431, allocations: 3.452 MB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.00825, allocations: 1.636 MB / 278.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.008453, allocations: 11.94 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003318/0.01177, allocations: 2.666 MB / 280.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.01234, allocations: 238.4 kB / 281 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.01303, allocations: 319.2 kB / 281.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.01485, allocations: 1.836 MB / 283.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.01508, allocations: 100.3 kB / 283.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.01564, allocations: 425.1 kB / 283.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.01603, allocations: 303.2 kB / 283.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.335e-05/0.01611, allocations: 48 kB / 284 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.0163, allocations: 91.91 kB / 284.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006389/0.01694, allocations: 0.861 MB / 284.9 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004856/0.01743, allocations: 474.1 kB / 285.4 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.0191, allocations: 1.502 MB / 286.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01911, allocations: 4 kB / 286.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01911, allocations: 0 / 286.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.01913, allocations: 4 kB / 286.9 MB, free: 3.766 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.003385/0.02251, allocations: 3.063 MB / 290 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.02255, allocations: 8.031 kB / 290 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.02288, allocations: 334.9 kB / 290.3 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09639/0.1193, allocations: 1.294 MB / 291.6 MB, free: 27.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.389e-05/0.1194, allocations: 111.2 kB / 291.7 MB, free: 27.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1195, allocations: 55.52 kB / 291.8 MB, free: 27.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.12, allocations: 383.4 kB / 292.1 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.12, allocations: 1.281 kB / 292.1 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.1201, allocations: 14.12 kB / 292.2 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1201, allocations: 9 kB / 292.2 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.1204, allocations: 200.5 kB / 292.4 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.1235, allocations: 2.714 MB / 295.1 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.1239, allocations: 249.4 kB / 295.3 MB, free: 26.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.124, allocations: 105.6 kB / 295.4 MB, free: 26.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.1241, allocations: 12.14 kB / 295.4 MB, free: 26.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1241, allocations: 37.69 kB / 295.5 MB, free: 25.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/0.1241, allocations: 0 / 295.5 MB, free: 25.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002771/0.1269, allocations: 2.114 MB / 297.6 MB, free: 24.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1269, allocations: 90.83 kB / 297.7 MB, free: 24.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.1307, allocations: 3.516 MB / 301.2 MB, free: 23.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.1307, allocations: 32.45 kB / 301.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/0.1315, allocations: 1.441 MB / 302.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.1316, allocations: 170.3 kB / 302.8 MB, free: 22.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1317, allocations: 94.41 kB / 302.9 MB, free: 22.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.1318, allocations: 0.4969 MB / 303.4 MB, free: 21.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1319, allocations: 72.2 kB / 303.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1321, allocations: 180.4 kB / 303.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1324, allocations: 284.5 kB / 303.9 MB, free: 21.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1324, allocations: 0 / 303.9 MB, free: 21.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007712/0.1332, allocations: 0.5925 MB / 304.5 MB, free: 21.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1332, allocations: 10.19 kB / 304.5 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1332, allocations: 2.031 kB / 304.6 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1332, allocations: 10.58 kB / 304.6 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.1335, allocations: 118.5 kB / 304.7 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1336, allocations: 4.625 kB / 304.7 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.1338, allocations: 14.53 kB / 304.7 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1338, allocations: 24.53 kB / 304.7 MB, free: 21.07 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.0002046/0.134, allocations: 187.1 kB / 304.9 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.1342, allocations: 299.3 kB / 305.2 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/0.1349, allocations: 0.5819 MB / 305.8 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1349, allocations: 5.344 kB / 305.8 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.135, allocations: 2.656 kB / 305.8 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.135, allocations: 2.906 kB / 305.8 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.1363, allocations: 1.525 MB / 307.3 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1363, allocations: 0 / 307.3 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.1365, allocations: 99.78 kB / 307.4 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.1367, allocations: 71.62 kB / 307.5 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1368, allocations: 12 kB / 307.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002807/0.137, allocations: 0.8496 MB / 308.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.137, allocations: 5.906 kB / 308.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.1378, allocations: 0.9875 MB / 309.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.1381, allocations: 409.1 kB / 309.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.1382, allocations: 7.844 kB / 309.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.1385, allocations: 23.98 kB / 309.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.1385, allocations: 32.38 kB / 309.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1385, allocations: 16 kB / 309.8 MB, free: 16.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.14, allocations: 2.041 MB / 311.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.14, allocations: 3.828 kB / 311.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004389/0.1405, allocations: 208 kB / 312.1 MB, free: 14.64 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.0008289/0.1413, allocations: 399.9 kB / 312.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.1417, allocations: 270.9 kB / 312.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1417, allocations: 0 / 312.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1419, allocations: 163.4 kB / 312.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.1425, allocations: 192.1 kB / 313.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.1458, allocations: 3.969 MB / 317 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1462, allocations: 0.559 MB / 317.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.1464, allocations: 175.8 kB / 317.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.1465, allocations: 88.48 kB / 317.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1465, allocations: 4 kB / 317.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of Templates: time 0.02124/0.1678, allocations: 15.36 MB / 333.2 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.105241011828184]