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.001391/0.001391, allocations: 79.59 kB / 21.18 MB, free: 3.379 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.001391/0.001391, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.8941/0.8941, allocations: 177.1 MB / 205 MB, free: 5.617 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 1.242e-06/1.242e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.271e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004116/0.004129, allocations: 5.046 MB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.009742, allocations: 6.398 MB / 284.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.01013, allocations: 63.31 kB / 284.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.01098, allocations: 464.7 kB / 284.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.01236, allocations: 0.8571 MB / 285.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007742/0.01314, allocations: 458.1 kB / 286.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.01492, allocations: 2.125 MB / 288.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.01508, allocations: 95.25 kB / 288.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.01548, allocations: 0.5103 MB / 289 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.01571, allocations: 235.1 kB / 289.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.01575, allocations: 36 kB / 289.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.01634, allocations: 463.4 kB / 289.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.01641, allocations: 111.2 kB / 289.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.01658, allocations: 231.2 kB / 290 MB, free: 420 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1009/0.1175, allocations: 0.9853 MB / 291 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1175, allocations: 0.7969 kB / 291 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1175, allocations: 1.156 kB / 291 MB, free: 17.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1175, allocations: 0 / 291 MB, free: 17.05 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.001232/0.1187, allocations: 1.543 MB / 292.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1188, allocations: 14 kB / 292.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.119, allocations: 166 kB / 292.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.1197, allocations: 0.8592 MB / 293.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1197, allocations: 13.34 kB / 293.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.1198, allocations: 24.22 kB / 293.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.1201, allocations: 321.1 kB / 293.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1201, allocations: 1.297 kB / 293.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.1202, allocations: 12.66 kB / 293.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1202, allocations: 5.281 kB / 293.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.1204, allocations: 170.1 kB / 294.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1215, allocations: 1.051 MB / 295.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1217, allocations: 214.4 kB / 295.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.122, allocations: 259.3 kB / 295.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/0.1225, allocations: 177.6 kB / 295.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1225, allocations: 40.39 kB / 295.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.924e-06/0.1225, allocations: 0.7969 kB / 295.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001611/0.1241, allocations: 1.235 MB / 297.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1241, allocations: 110.6 kB / 297.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.1251, allocations: 1.016 MB / 298.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1251, allocations: 33.12 kB / 298.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1253, allocations: 434.8 kB / 298.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.1254, allocations: 137.5 kB / 298.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1255, allocations: 114.9 kB / 298.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.55e-05/0.1255, allocations: 0.4887 MB / 299.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1256, allocations: 99.2 kB / 299.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1258, allocations: 166.9 kB / 299.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.126, allocations: 266.1 kB / 299.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.126, allocations: 5 kB / 299.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004977/0.1265, allocations: 487.5 kB / 300.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.1266, allocations: 36.17 kB / 300.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.1266, allocations: 16.31 kB / 300.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.1268, allocations: 65.98 kB / 300.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1269, allocations: 42.16 kB / 300.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.1281, allocations: 4.112 MB / 304.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1283, allocations: 14.09 kB / 304.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.1283, allocations: 16 kB / 304.7 MB, free: 8.895 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.0001446/0.1284, allocations: 206.4 kB / 304.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1285, allocations: 150.7 kB / 305 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.1293, allocations: 0.5827 MB / 305.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1293, allocations: 4 kB / 305.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1293, allocations: 1.984 kB / 305.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1293, allocations: 5.953 kB / 305.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.1298, allocations: 0.5704 MB / 306.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.1298, allocations: 12.31 kB / 306.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/0.1299, allocations: 36.03 kB / 306.3 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.13, allocations: 65.84 kB / 306.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1301, allocations: 19 kB / 306.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.1312, allocations: 4.117 MB / 310.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1312, allocations: 0 / 310.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.1318, allocations: 0.7775 MB / 311.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.1321, allocations: 231.5 kB / 311.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.1321, allocations: 8.828 kB / 311.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1323, allocations: 8.969 kB / 311.5 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.1323, allocations: 32.22 kB / 311.5 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.1324, allocations: 24.11 kB / 311.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004946/0.1328, allocations: 0.6011 MB / 312.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1328, allocations: 0 / 312.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005681/0.1334, allocations: 226.4 kB / 312.3 MB, free: 3.367 MB / 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.0004006/0.1338, allocations: 326.5 kB / 312.7 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.1344, allocations: 0.8323 MB / 313.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1344, allocations: 1.125 kB / 313.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.1347, allocations: 0.6917 MB / 314.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1351, allocations: 123.5 kB / 314.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1363, allocations: 1.478 MB / 315.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.297e-05/0.1364, allocations: 163.1 kB / 316 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.1366, allocations: 97.25 kB / 316 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.1366, allocations: 46.06 kB / 316.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1366, allocations: 0 / 316.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of Templates: time 0.01349/0.1501, allocations: 10.81 MB / 326.9 MB, free: 8.879 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 -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.828490437939763]