Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008825/0.0008825, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002044, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007107/0.0007107, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008778/0.001588, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9127/0.9127, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1506/1.063, allocations: 49.49 MB / 220.6 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.728e-05, allocations: 10.25 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00419/0.004217, allocations: 4.985 MB / 226.8 MB, free: 11.17 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.009848, allocations: 6.371 MB / 233.2 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.01017, allocations: 63.31 kB / 233.2 MB, free: 4.707 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.01091, allocations: 484.6 kB / 233.7 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.01224, allocations: 0.8336 MB / 234.6 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.01303, allocations: 390.2 kB / 234.9 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.01498, allocations: 2.032 MB / 237 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.01521, allocations: 103.2 kB / 237.1 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.01584, allocations: 0.6046 MB / 237.7 MB, free: 236 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.01612, allocations: 231.2 kB / 237.9 MB, free: 4 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.01618, allocations: 31.98 kB / 237.9 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000917/0.01709, allocations: 495.4 kB / 238.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.0172, allocations: 95.25 kB / 238.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.01739, allocations: 211.3 kB / 238.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.01824, allocations: 0.9066 MB / 239.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.01825, allocations: 0 / 239.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01825, allocations: 0 / 239.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.01827, allocations: 0 / 239.6 MB, free: 14.28 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.001242/0.01951, allocations: 1.597 MB / 241.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.01954, allocations: 8.031 kB / 241.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01966, allocations: 103.8 kB / 241.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.02035, allocations: 0.7368 MB / 242.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.02036, allocations: 20.5 kB / 242.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.0204, allocations: 20 kB / 242.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.02067, allocations: 298.6 kB / 242.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.02067, allocations: 0 / 242.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.02069, allocations: 12 kB / 242.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.0207, allocations: 7.984 kB / 242.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.02082, allocations: 124.4 kB / 242.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.02182, allocations: 0.5985 MB / 243.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.02201, allocations: 215 kB / 243.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.0222, allocations: 214.4 kB / 243.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/0.0227, allocations: 263.4 kB / 243.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.02273, allocations: 42.44 kB / 243.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 1.653e-06/0.02273, allocations: 0 / 243.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001652/0.02438, allocations: 0.883 MB / 244.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.02441, allocations: 55.41 kB / 244.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/0.02506, allocations: 0.8335 MB / 245.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.02509, allocations: 33.7 kB / 245.7 MB, free: 7.969 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.02522, allocations: 215.6 kB / 245.9 MB, free: 7.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.216e-05/0.02532, allocations: 138.7 kB / 246 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.02544, allocations: 101.7 kB / 246.1 MB, free: 7.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.02552, allocations: 321.9 kB / 246.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.02562, allocations: 72.8 kB / 246.5 MB, free: 7.113 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.02575, allocations: 138.5 kB / 246.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.02599, allocations: 219.8 kB / 246.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.02599, allocations: 0 / 246.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004349/0.02643, allocations: 340.8 kB / 247.2 MB, free: 6.363 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.02647, allocations: 37.69 kB / 247.2 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.0265, allocations: 8 kB / 247.2 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.02668, allocations: 57.73 kB / 247.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.02682, allocations: 43.97 kB / 247.3 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.0283, allocations: 2.774 MB / 250.1 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.02842, allocations: 12 kB / 250.1 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.02844, allocations: 8 kB / 250.1 MB, free: 3.25 MB / 250.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.0001338/0.02858, allocations: 163.5 kB / 250.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.02865, allocations: 79.91 kB / 250.3 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.02915, allocations: 0.4905 MB / 250.8 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02915, allocations: 4 kB / 250.8 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.02916, allocations: 0 / 250.8 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.02916, allocations: 4 kB / 250.8 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.02945, allocations: 339.3 kB / 251.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.02946, allocations: 4 kB / 251.2 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.02955, allocations: 43.91 kB / 251.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.02972, allocations: 179 kB / 251.4 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.873e-05/0.02982, allocations: 53.62 kB / 251.4 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.02984, allocations: 15.98 kB / 251.5 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.0309, allocations: 2.763 MB / 254.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0309, allocations: 0 / 254.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.03134, allocations: 0.624 MB / 254.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.03139, allocations: 11.98 kB / 254.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.03151, allocations: 8 kB / 254.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.03157, allocations: 27.89 kB / 254.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.03159, allocations: 12 kB / 254.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005435/0.03213, allocations: 439.9 kB / 255.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03213, allocations: 0 / 255.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.03261, allocations: 223.5 kB / 255.6 MB, free: 13.52 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.0003895/0.033, allocations: 316.4 kB / 255.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.03347, allocations: 0.6489 MB / 256.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.03349, allocations: 19.94 kB / 256.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.03378, allocations: 0.5611 MB / 257.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.03412, allocations: 192.7 kB / 257.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.03861, allocations: 1.48 MB / 258.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.03871, allocations: 166.3 kB / 258.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.03888, allocations: 97.62 kB / 259 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.03909, allocations: 183.3 kB / 259.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03909, allocations: 4 kB / 259.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of Templates: time 0.01306/0.05215, allocations: 10.33 MB / 269.5 MB, free: 15.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7810602355748415]