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.001353/0.001353, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001653/0.001653, allocations: 167.6 kB / 25.33 MB, free: 8.594 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.8839/0.8839, allocations: 158.6 MB / 187.2 MB, free: 2.922 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.713e-06/1.713e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.439e-05, allocations: 2.312 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004543/0.004567, allocations: 5.044 MB / 256.1 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006262/0.01083, allocations: 6.294 MB / 262.4 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.01149, allocations: 63.31 kB / 262.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.01255, allocations: 464.7 kB / 262.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.0147, allocations: 0.8531 MB / 263.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.01573, allocations: 434.3 kB / 264.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.01807, allocations: 2.074 MB / 266.2 MB, free: 8.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.01832, allocations: 95.25 kB / 266.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/0.01896, allocations: 0.4986 MB / 266.8 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.01933, allocations: 231.1 kB / 267.1 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.01941, allocations: 28 kB / 267.1 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.02026, allocations: 447.5 kB / 267.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.02034, allocations: 119.2 kB / 267.6 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.02055, allocations: 227.2 kB / 267.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.02155, allocations: 0.969 MB / 268.8 MB, free: 5.637 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02155, allocations: 4 kB / 268.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02155, allocations: 0 / 268.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.02157, allocations: 0 / 268.8 MB, free: 5.633 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.0014/0.02297, allocations: 1.535 MB / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.02302, allocations: 15.98 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.02318, allocations: 159.1 kB / 270.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.02424, allocations: 0.8604 MB / 271.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.02425, allocations: 20.44 kB / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.0243, allocations: 24 kB / 271.4 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.02466, allocations: 317.6 kB / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.02467, allocations: 0 / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.02469, allocations: 12 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.0247, allocations: 8 kB / 271.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.0249, allocations: 176.8 kB / 271.9 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.02609, allocations: 1.062 MB / 273 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.02635, allocations: 212.6 kB / 273.2 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.02663, allocations: 245.3 kB / 273.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.02707, allocations: 174.8 kB / 273.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.0271, allocations: 41.39 kB / 273.7 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/0.0271, allocations: 0 / 273.7 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001771/0.02887, allocations: 1.238 MB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.02892, allocations: 106.8 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.02972, allocations: 1.017 MB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.02974, allocations: 29.7 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.03005, allocations: 436.5 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.03015, allocations: 138.8 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.03029, allocations: 119.4 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.03043, allocations: 0.4925 MB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.03057, allocations: 97.95 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.03075, allocations: 170.8 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.03135, allocations: 258.5 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.03135, allocations: 0 / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006256/0.03198, allocations: 471.4 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.03202, allocations: 37.7 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.03205, allocations: 15.98 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.03226, allocations: 71.34 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.03241, allocations: 39.91 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.03451, allocations: 4.111 MB / 282.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.0347, allocations: 8 kB / 282.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.03474, allocations: 19.98 kB / 282.5 MB, free: 7.281 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.0002012/0.03494, allocations: 206.2 kB / 282.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.03508, allocations: 143.3 kB / 282.8 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/0.03593, allocations: 0.5861 MB / 283.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.03594, allocations: 4 kB / 283.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.03594, allocations: 3.938 kB / 283.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.03595, allocations: 3.984 kB / 283.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.03656, allocations: 0.5647 MB / 284 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.03658, allocations: 20 kB / 284 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.03669, allocations: 31.92 kB / 284 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.03687, allocations: 63.33 kB / 284.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.0369, allocations: 19.98 kB / 284.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.0391, allocations: 4.118 MB / 288.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0391, allocations: 0 / 288.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.03997, allocations: 0.7839 MB / 289 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.04025, allocations: 225.1 kB / 289.3 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.04033, allocations: 12 kB / 289.3 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.04052, allocations: 12 kB / 289.3 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.04061, allocations: 27.95 kB / 289.3 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.04064, allocations: 23.98 kB / 289.3 MB, free: 84 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006001/0.04124, allocations: 0.6021 MB / 289.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04124, allocations: 0 / 289.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000738/0.04198, allocations: 219.5 kB / 290.1 MB, free: 15.26 MB / 282.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.0004949/0.04247, allocations: 346.5 kB / 290.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007808/0.04326, allocations: 0.8104 MB / 291.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.04326, allocations: 0 / 291.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.04399, allocations: 0.706 MB / 292 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.04448, allocations: 108.7 kB / 292.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.04624, allocations: 1.485 MB / 293.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.04637, allocations: 166.3 kB / 293.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.04659, allocations: 93.64 kB / 293.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.04667, allocations: 48.5 kB / 293.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.04667, allocations: 0 / 293.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of Templates: time 0.01754/0.06421, allocations: 10.77 MB / 304.7 MB, free: 0.5078 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.813858058769256]