Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001307/0.001307, allocations: 81.97 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.0009664/0.0009664, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8833/0.8833, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.91e-07/6.91e-07, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.827e-06/9.518e-06, allocations: 6.969 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003699/0.003709, allocations: 4.923 MB / 279.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.01053, allocations: 6.307 MB / 285.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.01134, allocations: 63.38 kB / 285.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.01269, allocations: 476.6 kB / 285.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.01521, allocations: 0.8532 MB / 286.8 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.01659, allocations: 450.2 kB / 287.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.01981, allocations: 2.129 MB / 289.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.02009, allocations: 91.27 kB / 289.4 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007751/0.02086, allocations: 0.5103 MB / 290 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.02123, allocations: 239.1 kB / 290.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.02131, allocations: 32 kB / 290.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.02237, allocations: 467.4 kB / 290.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.02248, allocations: 107.2 kB / 290.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.02274, allocations: 243.2 kB / 291 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.02402, allocations: 0.9845 MB / 292 MB, free: 2.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.02402, allocations: 0 / 292 MB, free: 2.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02402, allocations: 0 / 292 MB, free: 2.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.02404, allocations: 0 / 292 MB, free: 2.527 MB / 266.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.001731/0.02577, allocations: 1.555 MB / 293.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.02581, allocations: 12.03 kB / 293.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.02613, allocations: 167.1 kB / 293.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.02706, allocations: 0.8567 MB / 294.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.02709, allocations: 20.5 kB / 294.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.02713, allocations: 24 kB / 294.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.02749, allocations: 297.5 kB / 294.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.0275, allocations: 3.938 kB / 294.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.02752, allocations: 12 kB / 294.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.02753, allocations: 4 kB / 294.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.02769, allocations: 137.6 kB / 295.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.02881, allocations: 0.895 MB / 296 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.02906, allocations: 188.6 kB / 296.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.0293, allocations: 242.2 kB / 296.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.02973, allocations: 174.8 kB / 296.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.02976, allocations: 41.39 kB / 296.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 1.953e-06/0.02976, allocations: 0 / 296.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001492/0.03126, allocations: 1.009 MB / 297.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.0313, allocations: 114.8 kB / 297.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.03195, allocations: 1.005 MB / 298.7 MB, free: 11.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.03197, allocations: 29.7 kB / 298.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.03223, allocations: 440.4 kB / 299.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.03231, allocations: 138.7 kB / 299.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.03243, allocations: 123.3 kB / 299.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.03256, allocations: 0.4887 MB / 299.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.03264, allocations: 77.95 kB / 300 MB, free: 10.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.03276, allocations: 154.9 kB / 300.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.03297, allocations: 238.6 kB / 300.4 MB, free: 9.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.03297, allocations: 0 / 300.4 MB, free: 9.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004614/0.03343, allocations: 450.9 kB / 300.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.03347, allocations: 33.7 kB / 300.9 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.03349, allocations: 16 kB / 300.9 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.03365, allocations: 71.34 kB / 301 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.03377, allocations: 39.97 kB / 301 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.03573, allocations: 4.061 MB / 305.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.03591, allocations: 15.92 kB / 305.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.03595, allocations: 16 kB / 305.1 MB, free: 4.797 MB / 282.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.0001989/0.03615, allocations: 210.2 kB / 305.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.03627, allocations: 131.2 kB / 305.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.03693, allocations: 0.5625 MB / 306 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.03693, allocations: 4 kB / 306 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.03694, allocations: 7.984 kB / 306 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.03694, allocations: 0 / 306 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.03737, allocations: 419.8 kB / 306.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.03739, allocations: 15.94 kB / 306.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.03749, allocations: 35.97 kB / 306.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.03763, allocations: 75.25 kB / 306.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.03765, allocations: 16 kB / 306.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.03937, allocations: 4.05 MB / 310.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.03937, allocations: 0 / 310.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.04002, allocations: 0.7408 MB / 311.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.04028, allocations: 220.9 kB / 311.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.04034, allocations: 12.09 kB / 311.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.04048, allocations: 8 kB / 311.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.04055, allocations: 39.94 kB / 311.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.04058, allocations: 16 kB / 311.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000367/0.04095, allocations: 0.5706 MB / 312.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.04095, allocations: 0 / 312.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006109/0.04156, allocations: 227.5 kB / 312.4 MB, free: 13.11 MB / 298.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.0004278/0.04199, allocations: 331.2 kB / 312.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.04258, allocations: 0.7994 MB / 313.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.04258, allocations: 0 / 313.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.04294, allocations: 0.6787 MB / 314.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.04338, allocations: 136.8 kB / 314.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.04478, allocations: 1.463 MB / 315.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.04489, allocations: 166.3 kB / 316 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.04507, allocations: 97.64 kB / 316.1 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.04529, allocations: 222.1 kB / 316.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04529, allocations: 0 / 316.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of Templates: time 0.01352/0.05882, allocations: 10.33 MB / 326.6 MB, free: 14.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.9901970089413226]