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.001076/0.001076, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009843/0.0009843, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.8535/0.8535, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.633e-06/1.633e-06, allocations: 0 / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.661e-05, allocations: 2.312 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003875/0.003892, allocations: 4.93 MB / 257.2 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00579/0.009682, allocations: 6.181 MB / 263.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.01043, allocations: 63.38 kB / 263.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.01145, allocations: 476.5 kB / 263.9 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.01337, allocations: 0.8493 MB / 264.7 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009271/0.01429, allocations: 438.3 kB / 265.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.01627, allocations: 2.07 MB / 267.2 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.01649, allocations: 91.27 kB / 267.3 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.01704, allocations: 0.4986 MB / 267.8 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.01729, allocations: 235.1 kB / 268 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.01733, allocations: 32 kB / 268.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.01797, allocations: 447.5 kB / 268.5 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.01804, allocations: 107.2 kB / 268.6 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.01823, allocations: 235.2 kB / 268.8 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.01908, allocations: 0.9729 MB / 269.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.01909, allocations: 0 / 269.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01909, allocations: 0 / 269.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.0191, allocations: 0 / 269.8 MB, free: 5.598 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.001285/0.02038, allocations: 1.559 MB / 271.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.02042, allocations: 11.98 kB / 271.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.02055, allocations: 151.1 kB / 271.5 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.02133, allocations: 0.8604 MB / 272.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.02135, allocations: 16.5 kB / 272.4 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.02139, allocations: 24 kB / 272.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.02173, allocations: 305.5 kB / 272.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.02174, allocations: 0 / 272.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.02176, allocations: 8 kB / 272.7 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.02177, allocations: 4 kB / 272.7 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.02193, allocations: 145.5 kB / 272.9 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.02301, allocations: 0.8835 MB / 273.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.02323, allocations: 204.6 kB / 274 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.02346, allocations: 225.3 kB / 274.2 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.02383, allocations: 170.8 kB / 274.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.02386, allocations: 37.39 kB / 274.4 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/0.02386, allocations: 0 / 274.4 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001328/0.02519, allocations: 1.001 MB / 275.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.02523, allocations: 118.8 kB / 275.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006307/0.02586, allocations: 1.009 MB / 276.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.02589, allocations: 33.7 kB / 276.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.02612, allocations: 436.4 kB / 277 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.02619, allocations: 142.7 kB / 277.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.0263, allocations: 115.4 kB / 277.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.02641, allocations: 0.4965 MB / 277.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.02648, allocations: 77.95 kB / 277.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.0266, allocations: 162.7 kB / 278 MB, free: 13.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.02679, allocations: 230.5 kB / 278.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.02679, allocations: 4.031 kB / 278.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004078/0.0272, allocations: 435.3 kB / 278.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.02723, allocations: 41.69 kB / 278.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.02725, allocations: 15.98 kB / 278.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.0274, allocations: 71.36 kB / 278.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.02751, allocations: 39.91 kB / 278.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.02915, allocations: 4.053 MB / 282.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.02928, allocations: 11.98 kB / 282.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.02931, allocations: 16 kB / 282.9 MB, free: 7.891 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.0001619/0.02947, allocations: 210.1 kB / 283.1 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.02958, allocations: 139.2 kB / 283.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/0.03019, allocations: 0.5586 MB / 283.8 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.0302, allocations: 4 kB / 283.8 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.0302, allocations: 4 kB / 283.8 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.03021, allocations: 7.969 kB / 283.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.03057, allocations: 423.7 kB / 284.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.03059, allocations: 16.06 kB / 284.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.03068, allocations: 39.91 kB / 284.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.03079, allocations: 67.33 kB / 284.3 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.03081, allocations: 12 kB / 284.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.03231, allocations: 4.065 MB / 288.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.03231, allocations: 0 / 288.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.0329, allocations: 0.733 MB / 289.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.03312, allocations: 225 kB / 289.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.03317, allocations: 12 kB / 289.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.03331, allocations: 8.062 kB / 289.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.03337, allocations: 43.88 kB / 289.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.03339, allocations: 16 kB / 289.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003403/0.03373, allocations: 0.5667 MB / 290 MB, free: 428 kB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03373, allocations: 0 / 290 MB, free: 428 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005285/0.03426, allocations: 231.5 kB / 290.2 MB, free: 196 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.0004028/0.03466, allocations: 323.1 kB / 290.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.03524, allocations: 0.7948 MB / 291.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.03524, allocations: 0 / 291.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.0356, allocations: 0.6873 MB / 292 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.03596, allocations: 120.8 kB / 292.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.03727, allocations: 1.463 MB / 293.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.03737, allocations: 166.3 kB / 293.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.03754, allocations: 89.64 kB / 293.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.03777, allocations: 222.1 kB / 294.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.03777, allocations: 4 kB / 294.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01347/0.05124, allocations: 10.3 MB / 304.4 MB, free: 1.801 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.7770573650486767]