Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.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.001276/0.001276, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001023/0.001023, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 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.9342/0.9342, allocations: 173.4 MB / 201.5 MB, free: 8.727 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.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 268.4 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.461e-05, allocations: 2.312 kB / 268.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005937/0.005961, allocations: 4.944 MB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009189/0.01515, allocations: 6.389 MB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/0.01589, allocations: 59.38 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.01723, allocations: 0.4926 MB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.01956, allocations: 0.8571 MB / 281.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.02071, allocations: 442.3 kB / 281.6 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.02353, allocations: 2.086 MB / 283.7 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.02384, allocations: 103.2 kB / 283.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009134/0.02475, allocations: 0.5025 MB / 284.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.0252, allocations: 239.1 kB / 284.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.02529, allocations: 32 kB / 284.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.02629, allocations: 451.4 kB / 285 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.02639, allocations: 111.2 kB / 285.1 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.02668, allocations: 231.2 kB / 285.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.02805, allocations: 0.9807 MB / 286.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.02806, allocations: 0 / 286.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02806, allocations: 0 / 286.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.906e-05/0.02809, allocations: 0 / 286.3 MB, free: 4.062 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.001716/0.0298, allocations: 1.386 MB / 287.7 MB, free: 2.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.02984, allocations: 12.92 kB / 287.7 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.03, allocations: 95.83 kB / 287.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.0311, allocations: 0.7368 MB / 288.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.03112, allocations: 16.5 kB / 288.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.03118, allocations: 28 kB / 288.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.03159, allocations: 298.6 kB / 288.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.0316, allocations: 0 / 288.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.03162, allocations: 8 kB / 288.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.03164, allocations: 8 kB / 288.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.03185, allocations: 116.5 kB / 289 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.03309, allocations: 0.6023 MB / 289.6 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.03337, allocations: 219 kB / 289.8 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.03368, allocations: 214.5 kB / 290.1 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1101/0.1438, allocations: 244.8 kB / 290.3 MB, free: 25.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.1439, allocations: 42.56 kB / 290.3 MB, free: 25.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.795e-06/0.1439, allocations: 0.6875 kB / 290.3 MB, free: 25.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001603/0.1455, allocations: 0.8561 MB / 291.2 MB, free: 24.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.1455, allocations: 112.1 kB / 291.3 MB, free: 24.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.1461, allocations: 0.8375 MB / 292.1 MB, free: 24.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1461, allocations: 30.98 kB / 292.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1462, allocations: 219.6 kB / 292.4 MB, free: 24.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.1463, allocations: 143.1 kB / 292.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1464, allocations: 103.2 kB / 292.6 MB, free: 24.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.1464, allocations: 324.2 kB / 292.9 MB, free: 24.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.1465, allocations: 79.09 kB / 293 MB, free: 24.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.1466, allocations: 138 kB / 293.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1468, allocations: 218.2 kB / 293.4 MB, free: 23.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1468, allocations: 1.031 kB / 293.4 MB, free: 23.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003474/0.1471, allocations: 338 kB / 293.7 MB, free: 23.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.1471, allocations: 43.02 kB / 293.7 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.1472, allocations: 5.453 kB / 293.7 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.1473, allocations: 56.08 kB / 293.8 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1474, allocations: 34.95 kB / 293.8 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.1485, allocations: 2.76 MB / 296.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1486, allocations: 10.31 kB / 296.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.1486, allocations: 16.48 kB / 296.6 MB, free: 21.14 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.0001361/0.1488, allocations: 162.5 kB / 296.8 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.1489, allocations: 83.25 kB / 296.9 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.1494, allocations: 481.8 kB / 297.3 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1494, allocations: 4 kB / 297.3 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1494, allocations: 5.656 kB / 297.3 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1495, allocations: 2.594 kB / 297.3 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1498, allocations: 343.3 kB / 297.7 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.1498, allocations: 9.328 kB / 297.7 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.1499, allocations: 37.56 kB / 297.7 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.15, allocations: 62.97 kB / 297.8 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1501, allocations: 12.17 kB / 297.8 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009229/0.151, allocations: 2.766 MB / 300.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.151, allocations: 0 / 300.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.1516, allocations: 0.6033 MB / 301.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.1518, allocations: 181.3 kB / 301.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.1518, allocations: 7.188 kB / 301.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.152, allocations: 10.31 kB / 301.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.152, allocations: 31.89 kB / 301.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.152, allocations: 8.688 kB / 301.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003561/0.1524, allocations: 437.4 kB / 301.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1524, allocations: 0 / 301.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000527/0.1529, allocations: 221.8 kB / 302 MB, free: 17.79 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.000378/0.1533, allocations: 315.1 kB / 302.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000455/0.1538, allocations: 0.6554 MB / 303 MB, free: 17.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.1538, allocations: 11.28 kB / 303 MB, free: 17.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.154, allocations: 0.5475 MB / 303.6 MB, free: 16.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1543, allocations: 127.2 kB / 303.7 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1556, allocations: 1.477 MB / 305.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.1557, allocations: 168.7 kB / 305.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1559, allocations: 96.7 kB / 305.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.1561, allocations: 180.1 kB / 305.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1561, allocations: 0 / 305.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01192/0.168, allocations: 10.17 MB / 315.8 MB, free: 10.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.877761885058135]