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.00179/0.00179, allocations: 73.41 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002104/0.002104, allocations: 161.2 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001572/0.001572, allocations: 52.27 kB / 325.5 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08669, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006196/0.09289, allocations: 4.578 MB / 383.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008836/0.1017, allocations: 5.865 MB / 389.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005878/0.1023, allocations: 67.31 kB / 389.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1036, allocations: 472.9 kB / 389.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.1057, allocations: 0.8303 MB / 390.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1068, allocations: 438.4 kB / 391.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.11, allocations: 2.056 MB / 393.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.1102, allocations: 95.25 kB / 393.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.1108, allocations: 394.2 kB / 393.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.1112, allocations: 329.6 kB / 394 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/0.1113, allocations: 28 kB / 394 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.1122, allocations: 467.6 kB / 394.5 MB, free: 20 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1123, allocations: 107.4 kB / 394.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.1127, allocations: 329.7 kB / 394.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1143, allocations: 1.299 MB / 396.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1143, allocations: 0 / 396.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1143, allocations: 0 / 396.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1143, allocations: 3.938 kB / 396.2 MB, free: 14.28 MB / 366.1 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.002035/0.1163, allocations: 1.415 MB / 397.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1163, allocations: 8.031 kB / 397.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.1167, allocations: 155.1 kB / 397.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.1179, allocations: 0.7639 MB / 398.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.1179, allocations: 16.5 kB / 398.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.118, allocations: 27.95 kB / 398.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.1186, allocations: 371.2 kB / 398.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1186, allocations: 0 / 398.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.1186, allocations: 4 kB / 398.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1186, allocations: 8 kB / 398.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.1191, allocations: 263.7 kB / 399.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1208, allocations: 0.9627 MB / 400.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.1212, allocations: 259.4 kB / 400.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.1218, allocations: 310.2 kB / 400.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/0.1225, allocations: 161.5 kB / 400.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1225, allocations: 38.56 kB / 400.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.783e-06/0.1225, allocations: 3.938 kB / 400.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003025/0.1255, allocations: 1.485 MB / 402.4 MB, free: 7.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.1256, allocations: 126.8 kB / 402.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1267, allocations: 0.9301 MB / 403.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.1267, allocations: 33.7 kB / 403.5 MB, free: 6.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.127, allocations: 357.8 kB / 403.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1272, allocations: 130.8 kB / 404 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.1273, allocations: 125.7 kB / 404.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1275, allocations: 317.9 kB / 404.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.1278, allocations: 162.2 kB / 404.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1281, allocations: 227.8 kB / 404.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.1296, allocations: 0.7492 MB / 405.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1296, allocations: 0 / 405.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001028/0.1307, allocations: 0.5955 MB / 406.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1307, allocations: 33.7 kB / 406.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/0.1307, allocations: 19.98 kB / 406.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.1309, allocations: 65.69 kB / 406.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.1312, allocations: 43.97 kB / 406.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.1339, allocations: 3.079 MB / 409.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.1342, allocations: 16.02 kB / 409.4 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.1343, allocations: 20 kB / 409.4 MB, free: 476 kB / 366.1 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.000378/0.1346, allocations: 260.9 kB / 409.7 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.1348, allocations: 127.2 kB / 409.8 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.1362, allocations: 0.7054 MB / 410.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.1362, allocations: 7.938 kB / 410.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1362, allocations: 4 kB / 410.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.1362, allocations: 7.984 kB / 410.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.1369, allocations: 0.4929 MB / 411 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.1369, allocations: 12 kB / 411 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1371, allocations: 35.97 kB / 411 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.1373, allocations: 69.61 kB / 411.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.1373, allocations: 16 kB / 411.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/0.1401, allocations: 3.068 MB / 414.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1401, allocations: 0 / 414.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.1415, allocations: 0.9446 MB / 415.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.1419, allocations: 201 kB / 415.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.142, allocations: 8.188 kB / 415.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.1423, allocations: 15.98 kB / 415.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.1424, allocations: 39.89 kB / 415.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.1424, allocations: 19.94 kB / 415.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007812/0.1432, allocations: 0.6334 MB / 416 MB, free: 9.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1432, allocations: 4.062 kB / 416.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007799/0.144, allocations: 227.5 kB / 416.3 MB, free: 9.258 MB / 382.1 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.0005065/0.1445, allocations: 298.8 kB / 416.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.1457, allocations: 0.8159 MB / 417.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1457, allocations: 0 / 417.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.1465, allocations: 0.6337 MB / 418 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.1471, allocations: 120.6 kB / 418.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.1495, allocations: 1.624 MB / 419.8 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1499, allocations: 421 kB / 420.2 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002515/0.1501, allocations: 89.64 kB / 420.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.1502, allocations: 60.48 kB / 420.3 MB, free: 4.988 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1502, allocations: 0 / 420.3 MB, free: 4.988 MB / 382.1 MB Notification: Performance of Templates: time 0.01822/0.1684, allocations: 8.997 MB / 429.3 MB, free: 12.05 MB / 398.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.493292397935875]