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.00103/0.00103, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.002653, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006409/0.0006409, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009589/0.0016, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8337/0.8337, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1368/0.9706, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.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.423e-06/1.423e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.223e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005679/0.005701, allocations: 4.982 MB / 244.7 MB, free: 1.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005189/0.01089, allocations: 6.444 MB / 251.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.01116, allocations: 63.31 kB / 251.2 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006562/0.01182, allocations: 0.4888 MB / 251.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.01283, allocations: 0.8258 MB / 252.5 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.01334, allocations: 394.2 kB / 252.9 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.01488, allocations: 2.047 MB / 255 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.01504, allocations: 107.2 kB / 255.1 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.01552, allocations: 0.6201 MB / 255.7 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.01575, allocations: 235.1 kB / 255.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.01579, allocations: 28 kB / 256 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006572/0.01645, allocations: 0.4916 MB / 256.4 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.01651, allocations: 91.31 kB / 256.5 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.01666, allocations: 215.2 kB / 256.7 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.01733, allocations: 0.895 MB / 257.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.01734, allocations: 8 kB / 257.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01734, allocations: 0 / 257.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.01736, allocations: 0 / 257.6 MB, free: 4.383 MB / 250.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.00113/0.01849, allocations: 1.593 MB / 259.2 MB, free: 2.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.01852, allocations: 16.02 kB / 259.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.01861, allocations: 99.78 kB / 259.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.01924, allocations: 0.7406 MB / 260.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.01925, allocations: 16.5 kB / 260.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.01929, allocations: 27.94 kB / 260.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.01955, allocations: 294.7 kB / 260.4 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01956, allocations: 0 / 260.4 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01958, allocations: 8 kB / 260.4 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01958, allocations: 12 kB / 260.4 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.0197, allocations: 116.5 kB / 260.6 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.0204, allocations: 0.6023 MB / 261.2 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.02058, allocations: 218.9 kB / 261.4 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.02076, allocations: 222.5 kB / 261.6 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/0.02122, allocations: 251.4 kB / 261.8 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.02125, allocations: 34.5 kB / 261.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.663e-06/0.02125, allocations: 4 kB / 261.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001305/0.02256, allocations: 1.002 MB / 262.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.02258, allocations: 55.41 kB / 262.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.02307, allocations: 0.8374 MB / 263.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.02309, allocations: 29.7 kB / 263.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.02318, allocations: 215.7 kB / 264 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.02325, allocations: 142.7 kB / 264.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.02333, allocations: 97.7 kB / 264.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.02339, allocations: 325.9 kB / 264.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.02345, allocations: 76.8 kB / 264.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.02354, allocations: 142.2 kB / 264.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.0237, allocations: 223.8 kB / 265 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.0237, allocations: 0 / 265 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002786/0.02398, allocations: 348.8 kB / 265.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.02401, allocations: 41.64 kB / 265.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.02403, allocations: 11.97 kB / 265.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.02415, allocations: 49.72 kB / 265.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.02426, allocations: 51.91 kB / 265.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.02539, allocations: 2.759 MB / 268.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.0255, allocations: 12.06 kB / 268.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.02553, allocations: 12 kB / 268.3 MB, free: 9.195 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.0001274/0.02566, allocations: 155.5 kB / 268.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.02573, allocations: 91.83 kB / 268.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.0262, allocations: 486.5 kB / 269 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02621, allocations: 7.984 kB / 269 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.02621, allocations: 0 / 269 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.02621, allocations: 0 / 269 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.0265, allocations: 339.3 kB / 269.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.02651, allocations: 8 kB / 269.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.0266, allocations: 39.91 kB / 269.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.02677, allocations: 183 kB / 269.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.864e-05/0.02687, allocations: 61.67 kB / 269.6 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.02688, allocations: 8 kB / 269.6 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.02797, allocations: 2.759 MB / 272.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02797, allocations: 3.984 kB / 272.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.02841, allocations: 0.62 MB / 273 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.02846, allocations: 11.98 kB / 273 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.02858, allocations: 8 kB / 273 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.02863, allocations: 27.95 kB / 273 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.02865, allocations: 16.06 kB / 273.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.0289, allocations: 439.9 kB / 273.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0289, allocations: 0 / 273.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.0293, allocations: 223.5 kB / 273.7 MB, free: 3.473 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.0004268/0.02973, allocations: 318.3 kB / 274 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.03018, allocations: 0.6538 MB / 274.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.03019, allocations: 15.94 kB / 274.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.0305, allocations: 0.5719 MB / 275.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.03104, allocations: 0.8696 MB / 276.1 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.03559, allocations: 1.468 MB / 277.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.686e-05/0.03569, allocations: 166.3 kB / 277.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.03584, allocations: 93.64 kB / 277.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.03604, allocations: 183.3 kB / 278 MB, free: 14.79 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03604, allocations: 0 / 278 MB, free: 14.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01187/0.0479, allocations: 10.37 MB / 288.4 MB, free: 4.488 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4769925149157643]