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.001057/0.001057, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001136/0.001136, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9092/0.9092, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.082e-06/1.082e-06, allocations: 0 / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.349e-05, allocations: 2.312 kB / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00395/0.003963, allocations: 5.032 MB / 256.1 MB, free: 2.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005298/0.009261, allocations: 6.271 MB / 262.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/0.009643, allocations: 63.31 kB / 262.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.01049, allocations: 472.7 kB / 262.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.01179, allocations: 0.8531 MB / 263.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.01252, allocations: 438.2 kB / 264.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.01433, allocations: 2.051 MB / 266.3 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.01456, allocations: 99.25 kB / 266.4 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.01494, allocations: 498.6 kB / 266.8 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.01516, allocations: 239.1 kB / 267.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.0152, allocations: 32 kB / 267.1 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.01576, allocations: 443.5 kB / 267.5 MB, free: 7.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.01584, allocations: 115.2 kB / 267.6 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.01601, allocations: 231.2 kB / 267.9 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.01687, allocations: 0.9768 MB / 268.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01687, allocations: 0 / 268.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01687, allocations: 0 / 268.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.01688, allocations: 0 / 268.9 MB, free: 5.969 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.001197/0.01808, allocations: 1.539 MB / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.01812, allocations: 11.98 kB / 270.4 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.01824, allocations: 155.1 kB / 270.6 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.01896, allocations: 0.841 MB / 271.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.01897, allocations: 28.38 kB / 271.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.01902, allocations: 23.95 kB / 271.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.01961, allocations: 321.6 kB / 271.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.01962, allocations: 0 / 271.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.01964, allocations: 8 kB / 271.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01965, allocations: 12 kB / 271.8 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.01985, allocations: 168.9 kB / 271.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.02092, allocations: 1.05 MB / 273 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.02116, allocations: 212.7 kB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.02143, allocations: 253.3 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.0218, allocations: 177.3 kB / 273.6 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.02182, allocations: 41.39 kB / 273.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 1.573e-06/0.02182, allocations: 0 / 273.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001537/0.02336, allocations: 1.227 MB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.0234, allocations: 106.8 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.02411, allocations: 1.021 MB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.02413, allocations: 29.7 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.02436, allocations: 440.5 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.02443, allocations: 134.8 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.02454, allocations: 123.4 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.02463, allocations: 496.4 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.02475, allocations: 102.3 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.02489, allocations: 167.7 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.02529, allocations: 390.6 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.02529, allocations: 0 / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004836/0.02577, allocations: 0.4992 MB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.0258, allocations: 41.69 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.02582, allocations: 19.94 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.02599, allocations: 63.33 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.02612, allocations: 35.98 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.02803, allocations: 4.122 MB / 282.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.02816, allocations: 12 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.02819, allocations: 24.06 kB / 282.7 MB, free: 7.465 MB / 266.7 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.0002228/0.02842, allocations: 214.7 kB / 282.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.02852, allocations: 139.3 kB / 283 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/0.02922, allocations: 0.5899 MB / 283.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.02922, allocations: 0 / 283.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02922, allocations: 7.938 kB / 283.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.02923, allocations: 3.984 kB / 283.6 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.0297, allocations: 0.5647 MB / 284.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.02971, allocations: 12 kB / 284.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.02981, allocations: 39.91 kB / 284.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.02994, allocations: 67.33 kB / 284.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.02996, allocations: 15.98 kB / 284.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.03181, allocations: 4.122 MB / 288.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03181, allocations: 4 kB / 288.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.03249, allocations: 0.78 MB / 289.2 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.03272, allocations: 224.9 kB / 289.4 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.03277, allocations: 8 kB / 289.4 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.03291, allocations: 8 kB / 289.5 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.03298, allocations: 36.02 kB / 289.5 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.033, allocations: 20.08 kB / 289.5 MB, free: 260 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004441/0.03345, allocations: 0.6021 MB / 290.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03345, allocations: 0 / 290.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000499/0.03395, allocations: 227.5 kB / 290.3 MB, free: 15.43 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.0003934/0.03434, allocations: 334.5 kB / 290.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.03501, allocations: 0.8221 MB / 291.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03501, allocations: 4 kB / 291.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.03538, allocations: 0.6943 MB / 292.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.03574, allocations: 108.9 kB / 292.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.03734, allocations: 1.485 MB / 293.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.03744, allocations: 166.3 kB / 293.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000169/0.03761, allocations: 93.64 kB / 294 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.03767, allocations: 52.48 kB / 294.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03767, allocations: 0 / 294.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of Templates: time 0.01149/0.04917, allocations: 9.096 MB / 303.2 MB, free: 2.352 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.8587854499928653]