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.000786/0.000786, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001874, allocations: 449.7 kB / 10.37 MB, free: 332 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.001016/0.001016, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002407, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9187/0.9187, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08169/1, allocations: 52.49 MB / 238.3 MB, free: 4.43 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.723e-06/1.723e-06, allocations: 3.938 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.181e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005564/0.005586, allocations: 4.995 MB / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008178/0.01376, allocations: 6.432 MB / 251 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000806/0.01457, allocations: 63.31 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.01581, allocations: 496.5 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.01856, allocations: 0.826 MB / 252.3 MB, free: 6.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.01988, allocations: 398.2 kB / 252.7 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.02317, allocations: 2.043 MB / 254.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.02347, allocations: 107.2 kB / 254.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009378/0.02441, allocations: 0.6084 MB / 255.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.02489, allocations: 239.1 kB / 255.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.02496, allocations: 32 kB / 255.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.02614, allocations: 499.4 kB / 256.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.02624, allocations: 91.25 kB / 256.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.02651, allocations: 215.2 kB / 256.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.02783, allocations: 0.9067 MB / 257.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-05/0.02784, allocations: 0 / 257.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.02785, allocations: 0 / 257.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.02787, allocations: 0 / 257.4 MB, free: 1.168 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.001705/0.02957, allocations: 1.597 MB / 259 MB, free: 15.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.02961, allocations: 8.031 kB / 259 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.02975, allocations: 103.8 kB / 259.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.03081, allocations: 0.7406 MB / 259.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.03083, allocations: 16.5 kB / 259.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.03088, allocations: 24 kB / 259.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.03124, allocations: 294.7 kB / 260.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.03125, allocations: 0 / 260.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.03128, allocations: 4 kB / 260.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.03129, allocations: 8 kB / 260.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.03148, allocations: 124.4 kB / 260.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.03254, allocations: 0.6024 MB / 261 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.0328, allocations: 225.7 kB / 261.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.03309, allocations: 222.5 kB / 261.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/0.03382, allocations: 251.4 kB / 261.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.03385, allocations: 38.5 kB / 261.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.633e-06/0.03385, allocations: 0 / 261.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001702/0.03555, allocations: 0.8776 MB / 262.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.03558, allocations: 55.41 kB / 262.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.03629, allocations: 0.8413 MB / 263.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.03631, allocations: 29.7 kB / 263.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.03646, allocations: 219.6 kB / 263.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.03656, allocations: 142.7 kB / 263.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.03668, allocations: 101.7 kB / 263.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.03678, allocations: 322 kB / 264.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.03688, allocations: 72.8 kB / 264.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.03702, allocations: 146.2 kB / 264.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.03727, allocations: 219.8 kB / 264.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.03727, allocations: 0 / 264.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004449/0.03772, allocations: 340.8 kB / 265 MB, free: 9.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.03776, allocations: 41.62 kB / 265 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.03779, allocations: 12.06 kB / 265.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.03797, allocations: 57.66 kB / 265.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.03813, allocations: 47.91 kB / 265.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.0399, allocations: 2.766 MB / 267.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.0401, allocations: 8 kB / 267.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.04015, allocations: 12 kB / 267.9 MB, free: 6.113 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.0001896/0.04033, allocations: 163.5 kB / 268.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.04045, allocations: 91.83 kB / 268.2 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.04119, allocations: 486.6 kB / 268.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.04119, allocations: 7.984 kB / 268.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.0412, allocations: 0 / 268.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.0412, allocations: 0 / 268.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.04166, allocations: 347.3 kB / 269 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.04168, allocations: 4 kB / 269 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.04182, allocations: 43.91 kB / 269.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.0421, allocations: 179 kB / 269.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001435/0.04224, allocations: 49.67 kB / 269.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.04226, allocations: 12 kB / 269.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.04389, allocations: 2.759 MB / 272.1 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.04389, allocations: 3.938 kB / 272.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.04459, allocations: 0.6278 MB / 272.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.04468, allocations: 7.984 kB / 272.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.04489, allocations: 12 kB / 272.7 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.04496, allocations: 23.95 kB / 272.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.045, allocations: 15.98 kB / 272.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000431/0.04543, allocations: 431.9 kB / 273.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04543, allocations: 0 / 273.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009776/0.04641, allocations: 223.5 kB / 273.4 MB, free: 400 kB / 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.0005253/0.04693, allocations: 328.4 kB / 273.7 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007296/0.04766, allocations: 0.6498 MB / 274.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/0.04768, allocations: 15.94 kB / 274.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.0481, allocations: 0.5758 MB / 275 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.04861, allocations: 188.7 kB / 275.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/0.05578, allocations: 1.466 MB / 276.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.05593, allocations: 170.2 kB / 276.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.05623, allocations: 93.64 kB / 276.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.05655, allocations: 179.3 kB / 277 MB, free: 12.51 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.05655, allocations: 0 / 277 MB, free: 12.51 MB / 282.7 MB Notification: Performance of Templates: time 0.01808/0.07464, allocations: 10.34 MB / 287.4 MB, free: 2.23 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5349541222676635]