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.000994/0.000994, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002428, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001178/0.001178, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002517, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9263/0.9263, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0909/1.017, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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 1.162e-06/1.162e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.659e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003738/0.003755, allocations: 5.014 MB / 249.5 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.009229, allocations: 6.471 MB / 256 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.009529, allocations: 59.38 kB / 256.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.01023, allocations: 0.4926 MB / 256.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.01141, allocations: 0.822 MB / 257.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.01211, allocations: 402.2 kB / 257.8 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.01406, allocations: 2.102 MB / 259.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.01423, allocations: 103.3 kB / 260 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.01471, allocations: 0.624 MB / 260.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.01492, allocations: 231.1 kB / 260.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.01496, allocations: 32 kB / 260.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006658/0.01562, allocations: 0.5072 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.01569, allocations: 95.25 kB / 261.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.01584, allocations: 211.3 kB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007187/0.01656, allocations: 0.9106 MB / 262.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.01657, allocations: 3.938 kB / 262.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01658, allocations: 0 / 262.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.01659, allocations: 0 / 262.6 MB, free: 12.16 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.001169/0.01776, allocations: 1.604 MB / 264.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.01779, allocations: 12.03 kB / 264.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.018, allocations: 180.9 kB / 264.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.01862, allocations: 0.7407 MB / 265.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.01864, allocations: 20.44 kB / 265.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.01867, allocations: 27.98 kB / 265.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.01893, allocations: 294.7 kB / 265.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.01894, allocations: 4 kB / 265.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.01896, allocations: 12 kB / 265.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.01897, allocations: 4 kB / 265.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.01908, allocations: 120.5 kB / 265.6 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009435/0.02003, allocations: 0.6023 MB / 266.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.02021, allocations: 215 kB / 266.4 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.02039, allocations: 226.3 kB / 266.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.02088, allocations: 259.4 kB / 266.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.02091, allocations: 46.44 kB / 266.9 MB, free: 7.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/0.02091, allocations: 0 / 266.9 MB, free: 7.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001121/0.02203, allocations: 0.8716 MB / 267.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.02205, allocations: 63.39 kB / 267.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.02247, allocations: 0.8296 MB / 268.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.02249, allocations: 33.69 kB / 268.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.02258, allocations: 223.6 kB / 268.9 MB, free: 5.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.02264, allocations: 134.8 kB / 269 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.02273, allocations: 101.7 kB / 269.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.02279, allocations: 321.9 kB / 269.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.02285, allocations: 76.78 kB / 269.5 MB, free: 4.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.02294, allocations: 135 kB / 269.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.02309, allocations: 219.8 kB / 269.9 MB, free: 4.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.02309, allocations: 4.031 kB / 269.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002738/0.02336, allocations: 337 kB / 270.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.0234, allocations: 45.62 kB / 270.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.02342, allocations: 8 kB / 270.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.02354, allocations: 53.72 kB / 270.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.02365, allocations: 39.97 kB / 270.4 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.02505, allocations: 2.77 MB / 273.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.02515, allocations: 8 kB / 273.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.02518, allocations: 15.98 kB / 273.2 MB, free: 1.004 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.0001255/0.0253, allocations: 155.5 kB / 273.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.02537, allocations: 87.84 kB / 273.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.02585, allocations: 494.8 kB / 273.9 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02586, allocations: 4 kB / 273.9 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.02586, allocations: 3.984 kB / 273.9 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.02586, allocations: 3.984 kB / 273.9 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.02615, allocations: 339.4 kB / 274.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.02616, allocations: 7.984 kB / 274.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.02625, allocations: 35.97 kB / 274.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.02642, allocations: 179 kB / 274.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.02652, allocations: 65.59 kB / 274.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.02654, allocations: 11.98 kB / 274.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.02757, allocations: 2.763 MB / 277.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02757, allocations: 96 / 277.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.02801, allocations: 0.628 MB / 277.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.02806, allocations: 12.09 kB / 277.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.02817, allocations: 8 kB / 277.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.02822, allocations: 31.94 kB / 278 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.02824, allocations: 8 kB / 278 MB, free: 11.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002374/0.02848, allocations: 435.9 kB / 278.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02848, allocations: 0 / 278.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000449/0.02893, allocations: 227.5 kB / 278.6 MB, free: 11.27 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.0003515/0.02928, allocations: 308 kB / 278.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.02974, allocations: 0.6732 MB / 279.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.02975, allocations: 12 kB / 279.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.03025, allocations: 0.5485 MB / 280.1 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.03059, allocations: 204.6 kB / 280.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.03479, allocations: 1.479 MB / 281.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.03488, allocations: 170.2 kB / 282 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.03504, allocations: 93.64 kB / 282.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.03524, allocations: 179.3 kB / 282.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03524, allocations: 0 / 282.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of Templates: time 0.09372/0.129, allocations: 10.4 MB / 292.7 MB, free: 31.29 MB / 282.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 -ignoreHideResult -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.8870360385626554]