Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.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.001456/0.001456, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00175/0.00175, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.081e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007009/0.00704, allocations: 5.049 MB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006979/0.01402, allocations: 6.406 MB / 284.4 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008249/0.01484, allocations: 63.31 kB / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.01603, allocations: 472.7 kB / 284.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.01821, allocations: 0.8532 MB / 285.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.01934, allocations: 450.2 kB / 286.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.02167, allocations: 2.125 MB / 288.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.02192, allocations: 95.25 kB / 288.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006516/0.02257, allocations: 0.522 MB / 289 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.02289, allocations: 235.1 kB / 289.2 MB, free: 1.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.02295, allocations: 32 kB / 289.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008634/0.02381, allocations: 463.4 kB / 289.7 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.02392, allocations: 107.2 kB / 289.8 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.02414, allocations: 243.2 kB / 290 MB, free: 260 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1293/0.1534, allocations: 0.9808 MB / 291 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1534, allocations: 0.625 kB / 291 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1534, allocations: 0.7031 kB / 291 MB, free: 16.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.456e-05/0.1535, allocations: 0 / 291 MB, free: 16.23 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001741/0.1552, allocations: 1.542 MB / 292.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1553, allocations: 9.375 kB / 292.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.1556, allocations: 169.1 kB / 292.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.1565, allocations: 0.8583 MB / 293.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1565, allocations: 17.19 kB / 293.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.1565, allocations: 20.84 kB / 293.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.1569, allocations: 322.8 kB / 293.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1569, allocations: 0.5938 kB / 293.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.157, allocations: 11.23 kB / 293.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.157, allocations: 6.25 kB / 294 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.1572, allocations: 165.9 kB / 294.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1585, allocations: 1.061 MB / 295.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.1588, allocations: 210.1 kB / 295.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.1591, allocations: 254.5 kB / 295.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004861/0.1596, allocations: 179.5 kB / 295.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1596, allocations: 40.98 kB / 295.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.843e-06/0.1596, allocations: 1.656 kB / 295.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001739/0.1614, allocations: 1.231 MB / 297.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1614, allocations: 112.9 kB / 297.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.1623, allocations: 1.017 MB / 298.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1623, allocations: 29.92 kB / 298.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1625, allocations: 433.8 kB / 298.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.1626, allocations: 140.3 kB / 298.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1627, allocations: 118.9 kB / 298.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.1628, allocations: 0.4887 MB / 299.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1629, allocations: 91.84 kB / 299.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.163, allocations: 170 kB / 299.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.1633, allocations: 260.3 kB / 299.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1633, allocations: 3.938 kB / 299.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005531/0.1638, allocations: 488.5 kB / 300.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.1639, allocations: 39.58 kB / 300.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.1639, allocations: 13.88 kB / 300.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.1641, allocations: 69.66 kB / 300.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1642, allocations: 41.06 kB / 300.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.1655, allocations: 4.116 MB / 304.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.1657, allocations: 10.03 kB / 304.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.1657, allocations: 21.73 kB / 304.7 MB, free: 8.074 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.1659, allocations: 205.3 kB / 304.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.166, allocations: 142.2 kB / 305 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007744/0.1668, allocations: 0.5852 MB / 305.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1668, allocations: 6.656 kB / 305.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1668, allocations: 2.438 kB / 305.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1668, allocations: 5.062 kB / 305.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000648/0.1675, allocations: 0.5635 MB / 306.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/0.1675, allocations: 22.8 kB / 306.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1676, allocations: 31.17 kB / 306.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.1677, allocations: 68.36 kB / 306.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.1678, allocations: 13.41 kB / 306.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.169, allocations: 4.112 MB / 310.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.169, allocations: 0 / 310.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.1697, allocations: 0.7863 MB / 311.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.17, allocations: 224.2 kB / 311.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.17, allocations: 11.64 kB / 311.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1702, allocations: 9.047 kB / 311.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.1703, allocations: 36.38 kB / 311.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.1703, allocations: 17.11 kB / 311.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005369/0.1708, allocations: 0.6058 MB / 312.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1708, allocations: 1.25 kB / 312.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00076/0.1716, allocations: 223.5 kB / 312.3 MB, free: 2.672 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000518/0.1721, allocations: 329.8 kB / 312.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.1728, allocations: 0.8326 MB / 313.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1728, allocations: 0 / 313.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.1731, allocations: 0.6903 MB / 314.2 MB, free: 1.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1736, allocations: 122 kB / 314.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.175, allocations: 1.474 MB / 315.8 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.1751, allocations: 171 kB / 316 MB, free: 248 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.1753, allocations: 93.94 kB / 316 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.1754, allocations: 51.83 kB / 316.1 MB, free: 212 kB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1754, allocations: 0 / 316.1 MB, free: 212 kB / 266.7 MB Notification: Performance of Templates: time 0.01362/0.189, allocations: 9.022 MB / 325.1 MB, free: 10.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.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.1970443539321423]