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.001293/0.001293, allocations: 89.25 kB / 21.45 MB, free: 272 kB / 14.72 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.00136/0.00136, allocations: 160.8 kB / 24.7 MB, free: 3.527 MB / 14.72 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 1.29/1.29, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 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.543e-06/1.543e-06, allocations: 0 / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.503e-05, allocations: 2.281 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005905/0.00593, allocations: 4.556 MB / 303.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008594/0.01452, allocations: 5.776 MB / 309.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007613/0.01529, allocations: 59.38 kB / 309.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.01659, allocations: 472.6 kB / 309.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.01861, allocations: 0.8571 MB / 310.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.01967, allocations: 434.2 kB / 311.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.0228, allocations: 2.039 MB / 313.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.02306, allocations: 99.19 kB / 313.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006732/0.02373, allocations: 0.4986 MB / 313.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.02409, allocations: 235.1 kB / 313.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.02417, allocations: 28 kB / 314 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000957/0.02512, allocations: 439.6 kB / 314.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.02524, allocations: 111.2 kB / 314.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.02555, allocations: 239.1 kB / 314.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.02715, allocations: 1.292 MB / 316 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.02716, allocations: 0 / 316 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02716, allocations: 4 kB / 316 MB, free: 7.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.02717, allocations: 7.938 kB / 316 MB, free: 7.535 MB / 302.1 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.002044/0.02922, allocations: 1.399 MB / 317.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.02925, allocations: 11.98 kB / 317.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.02943, allocations: 139.1 kB / 317.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.03059, allocations: 0.7678 MB / 318.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.03062, allocations: 16.5 kB / 318.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.0307, allocations: 35.94 kB / 318.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.03132, allocations: 363.2 kB / 318.8 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.03133, allocations: 0 / 318.8 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.03136, allocations: 8 kB / 318.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.03138, allocations: 11.94 kB / 318.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.03187, allocations: 263.7 kB / 319 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.03365, allocations: 0.9588 MB / 320 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.03411, allocations: 259.9 kB / 320.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.03466, allocations: 294.2 kB / 320.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007527/0.03541, allocations: 165.5 kB / 320.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.03544, allocations: 30.56 kB / 320.7 MB, free: 2.656 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.054e-06/0.03545, allocations: 4 kB / 320.7 MB, free: 2.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.003316/0.03876, allocations: 1.494 MB / 322.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.03886, allocations: 110.8 kB / 322.3 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.04001, allocations: 0.9339 MB / 323.3 MB, free: 12 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.1393/0.1793, allocations: 29.52 kB / 323.3 MB, free: 35.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.1796, allocations: 357.5 kB / 323.6 MB, free: 34.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.1798, allocations: 135.9 kB / 323.8 MB, free: 34.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.18, allocations: 113.8 kB / 323.9 MB, free: 34.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.1801, allocations: 323 kB / 324.2 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.1804, allocations: 155.6 kB / 324.4 MB, free: 34.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.1806, allocations: 222.4 kB / 324.6 MB, free: 34.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.182, allocations: 0.7458 MB / 325.3 MB, free: 34.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.182, allocations: 0 / 325.3 MB, free: 34.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009393/0.1829, allocations: 0.5954 MB / 325.9 MB, free: 33.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.183, allocations: 43.25 kB / 326 MB, free: 33.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.183, allocations: 13.75 kB / 326 MB, free: 33.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.1833, allocations: 66.27 kB / 326 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1835, allocations: 48.78 kB / 326.1 MB, free: 33.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.1855, allocations: 3.064 MB / 329.2 MB, free: 30.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.1858, allocations: 12.45 kB / 329.2 MB, free: 30.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.1858, allocations: 25.95 kB / 329.2 MB, free: 30.81 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real 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 (29): * Single equations (assignments): 22 * 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.0003736/0.1862, allocations: 259 kB / 329.4 MB, free: 30.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.1864, allocations: 128.7 kB / 329.6 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.1877, allocations: 0.7078 MB / 330.3 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1877, allocations: 5.062 kB / 330.3 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1877, allocations: 2.156 kB / 330.3 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1877, allocations: 1.734 kB / 330.3 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.1884, allocations: 0.4964 MB / 330.8 MB, free: 29.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.1884, allocations: 21.88 kB / 330.8 MB, free: 29.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1886, allocations: 30.83 kB / 330.8 MB, free: 29.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.1887, allocations: 74.22 kB / 330.9 MB, free: 29.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.1888, allocations: 15.67 kB / 330.9 MB, free: 29.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.1904, allocations: 3.067 MB / 334 MB, free: 26.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1904, allocations: 1.938 kB / 334 MB, free: 26.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.1916, allocations: 0.9353 MB / 334.9 MB, free: 26.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.1919, allocations: 207 kB / 335.1 MB, free: 26.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.192, allocations: 10.89 kB / 335.1 MB, free: 26.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.1923, allocations: 11.94 kB / 335.1 MB, free: 26.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1924, allocations: 30.95 kB / 335.2 MB, free: 26.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.1925, allocations: 23.69 kB / 335.2 MB, free: 26.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007328/0.1932, allocations: 0.6318 MB / 335.8 MB, free: 26.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1932, allocations: 0 / 335.8 MB, free: 26.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000803/0.194, allocations: 225.9 kB / 336.1 MB, free: 26.02 MB / 302.1 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.0005528/0.1946, allocations: 317.2 kB / 336.4 MB, free: 25.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009996/0.1956, allocations: 0.8298 MB / 337.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1956, allocations: 0 / 337.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.1961, allocations: 0.6228 MB / 337.8 MB, free: 24.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.1966, allocations: 103.5 kB / 337.9 MB, free: 24.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.1986, allocations: 1.566 MB / 339.5 MB, free: 23.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.199, allocations: 413.2 kB / 339.9 MB, free: 23.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.1993, allocations: 94.66 kB / 340 MB, free: 23.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.1994, allocations: 49.16 kB / 340 MB, free: 23.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1994, allocations: 0 / 340 MB, free: 23.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01651/0.2159, allocations: 8.97 MB / 349 MB, free: 19.23 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.444303378462791]