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.001158/0.001158, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002775, allocations: 453.8 kB / 10.46 MB, free: 236 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.001177/0.001177, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001817/0.002994, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.8617/0.8617, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1488/1.011, allocations: 49.5 MB / 220.7 MB, free: 1.359 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 2.185e-06/2.185e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.764e-05, allocations: 2.312 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006594/0.006621, allocations: 4.99 MB / 227 MB, free: 11.06 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.01326, allocations: 6.378 MB / 233.3 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007464/0.01401, allocations: 63.38 kB / 233.4 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.01501, allocations: 484.6 kB / 233.9 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.01711, allocations: 0.8336 MB / 234.7 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009896/0.01809, allocations: 394.2 kB / 235.1 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.02012, allocations: 2.032 MB / 237.1 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.02033, allocations: 99.27 kB / 237.2 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.02091, allocations: 0.6046 MB / 237.8 MB, free: 116 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.0212, allocations: 239.1 kB / 238.1 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.02125, allocations: 36 kB / 238.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008988/0.02215, allocations: 491.5 kB / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.02222, allocations: 91.25 kB / 238.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.02238, allocations: 215.2 kB / 238.9 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.02321, allocations: 0.8989 MB / 239.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.02322, allocations: 0 / 239.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02322, allocations: 0 / 239.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.02324, allocations: 0 / 239.8 MB, free: 14.16 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.001273/0.02451, allocations: 1.601 MB / 241.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.02454, allocations: 8.031 kB / 241.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.02468, allocations: 99.77 kB / 241.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.02543, allocations: 0.7329 MB / 242.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.02545, allocations: 20.5 kB / 242.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.02549, allocations: 24 kB / 242.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.02581, allocations: 298.6 kB / 242.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.02583, allocations: 0 / 242.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.02586, allocations: 8 kB / 242.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.02587, allocations: 11.98 kB / 242.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.02601, allocations: 124.4 kB / 242.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.02686, allocations: 0.5985 MB / 243.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.02708, allocations: 211 kB / 243.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.02732, allocations: 222.4 kB / 243.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000623/0.02795, allocations: 259.3 kB / 244 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.02797, allocations: 38.56 kB / 244 MB, free: 9.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 1.393e-06/0.02797, allocations: 0 / 244 MB, free: 9.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001556/0.02953, allocations: 1.008 MB / 245 MB, free: 8.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.02955, allocations: 55.41 kB / 245.1 MB, free: 8.594 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.03002, allocations: 0.8335 MB / 245.9 MB, free: 7.754 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.03004, allocations: 33.7 kB / 245.9 MB, free: 7.715 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.03015, allocations: 223.6 kB / 246.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.03022, allocations: 134.8 kB / 246.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.03031, allocations: 101.7 kB / 246.4 MB, free: 7.254 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.03038, allocations: 321.9 kB / 246.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.03045, allocations: 76.8 kB / 246.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.03054, allocations: 130.5 kB / 246.9 MB, free: 6.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.0307, allocations: 219.8 kB / 247.1 MB, free: 6.469 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0307, allocations: 4 kB / 247.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000292/0.031, allocations: 336.8 kB / 247.4 MB, free: 6.109 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.03103, allocations: 37.69 kB / 247.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.03105, allocations: 8 kB / 247.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.0312, allocations: 57.67 kB / 247.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.03131, allocations: 43.97 kB / 247.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.03265, allocations: 2.763 MB / 250.4 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.0328, allocations: 12 kB / 250.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.03283, allocations: 12 kB / 250.4 MB, free: 3 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.0001639/0.03299, allocations: 163.4 kB / 250.5 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.03307, allocations: 91.92 kB / 250.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.03361, allocations: 486.3 kB / 251.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.03361, allocations: 4 kB / 251.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.03361, allocations: 0 / 251.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.03361, allocations: 0 / 251.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.03395, allocations: 347.3 kB / 251.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.03396, allocations: 4 kB / 251.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.03406, allocations: 51.89 kB / 251.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.03425, allocations: 171 kB / 251.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.03436, allocations: 53.67 kB / 251.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.03437, allocations: 8 kB / 251.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.03554, allocations: 2.774 MB / 254.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03554, allocations: 0 / 254.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.03601, allocations: 0.6279 MB / 255.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.03606, allocations: 8 kB / 255.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.03618, allocations: 8 kB / 255.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.03624, allocations: 27.95 kB / 255.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.03626, allocations: 11.98 kB / 255.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002621/0.03653, allocations: 439.9 kB / 255.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03653, allocations: 0 / 255.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005145/0.03704, allocations: 223.5 kB / 255.8 MB, free: 13.26 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.0004434/0.03748, allocations: 316.4 kB / 256.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.03803, allocations: 0.6528 MB / 256.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.03804, allocations: 12 kB / 256.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.03838, allocations: 0.5845 MB / 257.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.03897, allocations: 0.8619 MB / 258.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/0.04489, allocations: 1.472 MB / 259.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.04505, allocations: 166.3 kB / 259.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002662/0.04532, allocations: 93.62 kB / 260 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.04563, allocations: 187.3 kB / 260.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04563, allocations: 0 / 260.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of Templates: time 0.01359/0.05922, allocations: 10.35 MB / 270.5 MB, free: 14.21 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8320077741518617]