Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.0007708/0.0007708, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001816, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007038/0.0007038, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009138/0.001618, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9162/0.9162, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07554/0.9917, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.366e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004862/0.004876, allocations: 5.006 MB / 250 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006903/0.01178, allocations: 6.483 MB / 256.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.01212, allocations: 63.31 kB / 256.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008437/0.01296, allocations: 0.4888 MB / 257 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.01429, allocations: 0.826 MB / 257.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.01497, allocations: 406.1 kB / 258.3 MB, free: 344 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.01707, allocations: 2.094 MB / 260.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.01727, allocations: 107.2 kB / 260.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.01786, allocations: 0.6201 MB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.01814, allocations: 243.1 kB / 261.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.01819, allocations: 28 kB / 261.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007316/0.01892, allocations: 0.5033 MB / 261.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.019, allocations: 95.25 kB / 261.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.0192, allocations: 211.3 kB / 262.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.02012, allocations: 0.9067 MB / 263.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.02014, allocations: 4 kB / 263.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.02014, allocations: 3.938 kB / 263.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.02016, allocations: 0 / 263.1 MB, free: 11.49 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.001638/0.02179, allocations: 1.612 MB / 264.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.02182, allocations: 8.625 kB / 264.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.02206, allocations: 180.9 kB / 264.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.02289, allocations: 0.7445 MB / 265.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.02291, allocations: 16.5 kB / 265.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.02295, allocations: 24 kB / 265.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.02327, allocations: 298.6 kB / 265.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.02328, allocations: 0 / 265.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.0233, allocations: 12 kB / 265.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.02331, allocations: 12 kB / 266 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.02346, allocations: 120.5 kB / 266.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.02436, allocations: 0.5945 MB / 266.7 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.02457, allocations: 219 kB / 266.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.02481, allocations: 218.4 kB / 267.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.02539, allocations: 251.4 kB / 267.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.02541, allocations: 38.5 kB / 267.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.804e-06/0.02542, allocations: 4 kB / 267.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001394/0.02681, allocations: 0.8905 MB / 268.3 MB, free: 6.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.02683, allocations: 55.41 kB / 268.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.02742, allocations: 0.8374 MB / 269.2 MB, free: 5.102 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.02744, allocations: 33.7 kB / 269.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.02757, allocations: 227.6 kB / 269.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.02764, allocations: 134.8 kB / 269.6 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.02776, allocations: 105.7 kB / 269.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.02783, allocations: 321.9 kB / 270 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.02792, allocations: 72.8 kB / 270 MB, free: 4.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.02825, allocations: 139.9 kB / 270.2 MB, free: 4.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.02845, allocations: 215.8 kB / 270.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.02846, allocations: 0 / 270.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003642/0.02882, allocations: 333.1 kB / 270.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.02885, allocations: 45.62 kB / 270.8 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.02887, allocations: 4 kB / 270.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.02902, allocations: 61.61 kB / 270.8 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.02916, allocations: 39.97 kB / 270.9 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.03056, allocations: 2.76 MB / 273.6 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.03072, allocations: 12 kB / 273.6 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.03075, allocations: 16.06 kB / 273.7 MB, free: 348 kB / 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.0001529/0.0309, allocations: 159.5 kB / 273.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.031, allocations: 91.92 kB / 273.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000639/0.03164, allocations: 478.5 kB / 274.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.03164, allocations: 11.98 kB / 274.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.03165, allocations: 4 kB / 274.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.03165, allocations: 0 / 274.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.03203, allocations: 347.2 kB / 274.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.03205, allocations: 4 kB / 274.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.03217, allocations: 35.97 kB / 274.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.03239, allocations: 175 kB / 274.9 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.03252, allocations: 65.66 kB / 275 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.03254, allocations: 8 kB / 275 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.03405, allocations: 2.767 MB / 277.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03405, allocations: 7.938 kB / 277.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.03461, allocations: 0.6168 MB / 278.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.03469, allocations: 11.98 kB / 278.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.03486, allocations: 12 kB / 278.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.03492, allocations: 27.95 kB / 278.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.03494, allocations: 7.984 kB / 278.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003301/0.03527, allocations: 444 kB / 278.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03527, allocations: 0 / 278.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.03584, allocations: 223.5 kB / 279.1 MB, free: 10.61 MB / 282.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.0004169/0.03626, allocations: 311.5 kB / 279.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005494/0.03681, allocations: 0.6613 MB / 280.1 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.03682, allocations: 20.06 kB / 280.1 MB, free: 9.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.03718, allocations: 0.5526 MB / 280.6 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.03763, allocations: 204.6 kB / 280.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.04345, allocations: 1.472 MB / 282.3 MB, free: 7.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.04356, allocations: 166.3 kB / 282.5 MB, free: 7.004 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.04376, allocations: 93.64 kB / 282.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.04402, allocations: 187.3 kB / 282.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.04402, allocations: 0 / 282.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of Templates: time 0.09816/0.1422, allocations: 10.37 MB / 293.1 MB, free: 26.56 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.649411163292825]