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.001054/0.001054, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001276/0.001276, allocations: 163.5 kB / 25.33 MB, free: 9.23 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.9722/0.9722, allocations: 158.6 MB / 187.2 MB, free: 2.93 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 2.144e-06/2.144e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.334e-05, allocations: 6.312 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006861/0.006895, allocations: 5.028 MB / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.0155, allocations: 6.294 MB / 262.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007041/0.01621, allocations: 67.31 kB / 262.4 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.01734, allocations: 468.7 kB / 262.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.01944, allocations: 0.8531 MB / 263.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.02055, allocations: 438.2 kB / 264.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.02329, allocations: 2.07 MB / 266.2 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.02364, allocations: 95.25 kB / 266.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.02445, allocations: 0.4948 MB / 266.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.02477, allocations: 235.1 kB / 267.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.02483, allocations: 32 kB / 267.1 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.02586, allocations: 439.5 kB / 267.5 MB, free: 6.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.02595, allocations: 111.2 kB / 267.6 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.02617, allocations: 239.2 kB / 267.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.02728, allocations: 0.969 MB / 268.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.02729, allocations: 0 / 268.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.02729, allocations: 0 / 268.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.02731, allocations: 0 / 268.8 MB, free: 5.641 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.00149/0.0288, allocations: 1.547 MB / 270.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.02884, allocations: 11.98 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.029, allocations: 151.1 kB / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/0.02982, allocations: 0.8604 MB / 271.4 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.02985, allocations: 20.5 kB / 271.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.0299, allocations: 20 kB / 271.4 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.03031, allocations: 329.5 kB / 271.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.03032, allocations: 0 / 271.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.03034, allocations: 8 kB / 271.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.03036, allocations: 8 kB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.03057, allocations: 172.8 kB / 271.9 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.03182, allocations: 1.062 MB / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.03209, allocations: 208.7 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.03238, allocations: 257.3 kB / 273.5 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/0.03281, allocations: 170.8 kB / 273.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.03283, allocations: 33.39 kB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 2.344e-06/0.03283, allocations: 0 / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001713/0.03455, allocations: 1.238 MB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.0346, allocations: 114.8 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007476/0.03535, allocations: 1.013 MB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.03537, allocations: 33.7 kB / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.03561, allocations: 432.5 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.03569, allocations: 138.8 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.03581, allocations: 119.4 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.03593, allocations: 0.4887 MB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.03605, allocations: 97.94 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.03619, allocations: 166.8 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.03646, allocations: 270.4 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.03646, allocations: 0 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005106/0.03697, allocations: 463.5 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.03702, allocations: 37.69 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.03704, allocations: 19.94 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.03724, allocations: 71.33 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.03737, allocations: 35.98 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.03946, allocations: 4.115 MB / 282.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.03962, allocations: 12 kB / 282.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.03966, allocations: 16 kB / 282.5 MB, free: 7.289 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.0001875/0.03985, allocations: 210.2 kB / 282.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.03996, allocations: 139.2 kB / 282.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007629/0.04073, allocations: 0.5978 MB / 283.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.04073, allocations: 0 / 283.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.04074, allocations: 7.938 kB / 283.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.04074, allocations: 0 / 283.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.04126, allocations: 0.5647 MB / 284 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.04127, allocations: 12 kB / 284 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.04137, allocations: 39.97 kB / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.04152, allocations: 63.33 kB / 284.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.04154, allocations: 12 kB / 284.1 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.04332, allocations: 4.122 MB / 288.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.04332, allocations: 0 / 288.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.04408, allocations: 0.7802 MB / 289 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.04435, allocations: 229 kB / 289.3 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.0444, allocations: 12 kB / 289.3 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.04454, allocations: 11.98 kB / 289.3 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.04461, allocations: 31.95 kB / 289.3 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.04464, allocations: 16 kB / 289.3 MB, free: 92 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005114/0.04515, allocations: 0.6021 MB / 289.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04515, allocations: 0 / 289.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006165/0.04577, allocations: 227.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.0004851/0.04625, allocations: 334.5 kB / 290.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007574/0.04701, allocations: 0.8182 MB / 291.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.04701, allocations: 0 / 291.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.04745, allocations: 0.706 MB / 292 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.04784, allocations: 108.7 kB / 292.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.04938, 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.0001091/0.04948, allocations: 166.3 kB / 293.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.04966, 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 6.569e-05/0.04973, allocations: 48.48 kB / 293.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.04973, allocations: 0 / 293.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of Templates: time 0.01324/0.06297, allocations: 8.982 MB / 302.9 MB, free: 2.297 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: 3.070337282959372]