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.001496/0.001496, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00165/0.00165, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 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.9255/0.9255, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.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.914e-06/1.914e-06, allocations: 0 / 251.5 MB, free: 7.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.766e-05, allocations: 2.312 kB / 251.5 MB, free: 7.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006788/0.006816, allocations: 4.926 MB / 256.4 MB, free: 2.402 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009752/0.01657, allocations: 6.189 MB / 262.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.01781, allocations: 63.31 kB / 262.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.01936, allocations: 472.6 kB / 263.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.02251, allocations: 0.8454 MB / 263.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.02384, allocations: 442.2 kB / 264.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.02606, allocations: 2.07 MB / 266.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.02628, allocations: 99.25 kB / 266.5 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.02681, allocations: 498.6 kB / 267 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.02706, allocations: 235.1 kB / 267.3 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.02712, allocations: 32 kB / 267.3 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.02779, allocations: 447.5 kB / 267.7 MB, free: 6.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.02787, allocations: 111.2 kB / 267.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.02804, allocations: 235.2 kB / 268.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.02897, allocations: 0.969 MB / 269 MB, free: 5.684 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.02897, allocations: 0 / 269 MB, free: 5.684 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02897, allocations: 4 kB / 269 MB, free: 5.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.02899, allocations: 0 / 269 MB, free: 5.68 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.001227/0.03022, allocations: 1.555 MB / 270.6 MB, free: 4.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.03025, allocations: 19.92 kB / 270.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.03037, allocations: 151.1 kB / 270.8 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/0.03114, allocations: 0.8565 MB / 271.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.03116, allocations: 16.5 kB / 271.6 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.0312, allocations: 24 kB / 271.7 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.03147, allocations: 305.5 kB / 272 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.03148, allocations: 0 / 272 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.0315, allocations: 8 kB / 272 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.03151, allocations: 4 kB / 272 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.03164, allocations: 149.5 kB / 272.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.03271, allocations: 0.8913 MB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.03291, allocations: 188.7 kB / 273.2 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.03311, allocations: 241.2 kB / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003439/0.03346, allocations: 170.4 kB / 273.6 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.03348, allocations: 37.39 kB / 273.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 1.423e-06/0.03348, allocations: 0 / 273.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.00122/0.0347, allocations: 1.009 MB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.03474, allocations: 114.8 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.03533, allocations: 1.005 MB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.03535, allocations: 33.64 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.03557, allocations: 444.3 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.03589, allocations: 138.8 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.03599, allocations: 119.3 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.03609, allocations: 0.4926 MB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.03616, allocations: 73.95 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.03627, allocations: 162.7 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.03644, allocations: 226.6 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.03644, allocations: 0 / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003927/0.03684, allocations: 447.3 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.03687, allocations: 37.7 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.03689, allocations: 15.98 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.03702, allocations: 67.31 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.03712, allocations: 39.97 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.03874, allocations: 4.061 MB / 282.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.03888, allocations: 8 kB / 282.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.03891, allocations: 16 kB / 282.1 MB, free: 7.965 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.0001623/0.03907, allocations: 210.1 kB / 282.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/0.03917, allocations: 139.2 kB / 282.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.03976, allocations: 0.5703 MB / 283 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.03977, allocations: 3.938 kB / 283 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.03977, allocations: 4 kB / 283 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.03978, allocations: 0 / 283 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.04016, allocations: 423.7 kB / 283.4 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.04017, allocations: 16 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.04051, allocations: 31.97 kB / 283.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.04063, allocations: 71.33 kB / 283.5 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.04065, allocations: 12 kB / 283.6 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.04221, allocations: 4.069 MB / 287.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.04221, allocations: 4 kB / 287.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.04282, allocations: 0.7331 MB / 288.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.04304, allocations: 217 kB / 288.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.04309, allocations: 20.03 kB / 288.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.04322, allocations: 7.984 kB / 288.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.04328, allocations: 35.95 kB / 288.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.0433, allocations: 16 kB / 288.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003505/0.04365, allocations: 0.5745 MB / 289.2 MB, free: 496 kB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.04365, allocations: 0 / 289.2 MB, free: 496 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005577/0.04421, allocations: 227.5 kB / 289.4 MB, free: 268 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.0004236/0.04463, allocations: 335.2 kB / 289.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.04522, allocations: 0.7907 MB / 290.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.04522, allocations: 0 / 290.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.04581, allocations: 0.6864 MB / 291.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.04616, allocations: 124.7 kB / 291.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.04758, allocations: 1.465 MB / 292.8 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.04769, allocations: 166.3 kB / 293 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.04786, allocations: 93.64 kB / 293.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.04809, allocations: 222.1 kB / 293.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04809, allocations: 0 / 293.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of Templates: time 0.01349/0.06158, allocations: 10.22 MB / 303.5 MB, free: 1.934 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 -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.80441833101213]