Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 55.91 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.09097, allocations: 52.13 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006323/0.09729, allocations: 5.222 MB / 424.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009152/0.1064, allocations: 6.654 MB / 430.8 MB, free: 200 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.1072, allocations: 39.69 kB / 430.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.1086, allocations: 0.497 MB / 431.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.1111, allocations: 0.8186 MB / 432.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.1124, allocations: 442.3 kB / 432.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003261/0.1156, allocations: 2.005 MB / 434.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.1159, allocations: 99.06 kB / 434.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/0.1164, allocations: 366.2 kB / 435.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.1169, allocations: 349.7 kB / 435.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.1169, allocations: 36 kB / 435.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1181, allocations: 491.5 kB / 435.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1182, allocations: 107.3 kB / 436 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.1186, allocations: 449 kB / 436.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.1204, allocations: 1.276 MB / 437.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1204, allocations: 0 / 437.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1204, allocations: 0 / 437.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1204, allocations: 0 / 437.7 MB, free: 9.23 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.002072/0.1225, allocations: 1.482 MB / 439.2 MB, free: 7.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1225, allocations: 12.03 kB / 439.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1227, allocations: 135.1 kB / 439.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.1238, allocations: 0.8632 MB / 440.2 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1239, allocations: 16.44 kB / 440.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.1239, allocations: 27.94 kB / 440.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.1245, allocations: 306.6 kB / 440.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1245, allocations: 0 / 440.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.1246, allocations: 12 kB / 440.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1246, allocations: 4 kB / 440.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.125, allocations: 225.7 kB / 440.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.1268, allocations: 1.122 MB / 441.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.1272, allocations: 222.4 kB / 442.1 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.1277, allocations: 256.7 kB / 442.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.1288, allocations: 0.7594 MB / 443.1 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.1288, allocations: 42.5 kB / 443.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 4.027e-06/0.1288, allocations: 3.984 kB / 443.2 MB, free: 3.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003138/0.1319, allocations: 1.566 MB / 444.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.132, allocations: 110.8 kB / 444.9 MB, free: 1.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.1332, allocations: 0.9262 MB / 445.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.1332, allocations: 37.64 kB / 445.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.1335, allocations: 361.7 kB / 446.2 MB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1336, allocations: 142.7 kB / 446.3 MB, free: 152 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.1338, allocations: 125.7 kB / 446.4 MB, free: 16 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1925/0.3263, allocations: 317.7 kB / 446.8 MB, free: 30.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.3267, allocations: 121 kB / 446.9 MB, free: 30.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.327, allocations: 163 kB / 447 MB, free: 30.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.3282, allocations: 0.7272 MB / 447.8 MB, free: 30.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3282, allocations: 0 / 447.8 MB, free: 30.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008827/0.3291, allocations: 0.5578 MB / 448.3 MB, free: 30.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.3292, allocations: 42.64 kB / 448.4 MB, free: 30.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.3292, allocations: 15.8 kB / 448.4 MB, free: 30.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.3294, allocations: 67.92 kB / 448.4 MB, free: 30.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.3296, allocations: 51.86 kB / 448.5 MB, free: 30.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.3315, allocations: 3.327 MB / 451.8 MB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.3319, allocations: 15.16 kB / 451.8 MB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.3319, allocations: 27.56 kB / 451.9 MB, free: 27.27 MB / 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.0003826/0.3323, allocations: 255.7 kB / 452.1 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.3324, allocations: 125.7 kB / 452.2 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3336, allocations: 0.663 MB / 452.9 MB, free: 27.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3336, allocations: 3.344 kB / 452.9 MB, free: 27.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3336, allocations: 2 kB / 452.9 MB, free: 27.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3336, allocations: 4.062 kB / 452.9 MB, free: 27.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.3342, allocations: 0.6131 MB / 453.5 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/0.3342, allocations: 15.86 kB / 453.5 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.3344, allocations: 42.83 kB / 453.6 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.3346, allocations: 67.81 kB / 453.6 MB, free: 26.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.3346, allocations: 17.91 kB / 453.7 MB, free: 26.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.3363, allocations: 3.326 MB / 457 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3363, allocations: 0 / 457 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3376, allocations: 0.8554 MB / 457.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.3379, allocations: 288.2 kB / 458.1 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.338, allocations: 8.844 kB / 458.1 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.3383, allocations: 12.62 kB / 458.1 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3384, allocations: 32.17 kB / 458.2 MB, free: 23.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.3384, allocations: 20.62 kB / 458.2 MB, free: 23.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007434/0.3392, allocations: 0.6294 MB / 458.8 MB, free: 23.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3392, allocations: 0 / 458.8 MB, free: 23.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000812/0.34, allocations: 226.1 kB / 459 MB, free: 23.11 MB / 366.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.0006515/0.3406, allocations: 300 kB / 459.3 MB, free: 23.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.3418, allocations: 0.746 MB / 460.1 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3418, allocations: 2.531 kB / 460.1 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.3424, allocations: 0.5966 MB / 460.7 MB, free: 21.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.343, allocations: 111.7 kB / 460.8 MB, free: 21.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3452, allocations: 1.647 MB / 462.4 MB, free: 21.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.3457, allocations: 1.003 MB / 463.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3458, allocations: 50.94 kB / 463.5 MB, free: 20.29 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3458, allocations: 0 / 463.5 MB, free: 20.29 MB / 366.1 MB Notification: Performance of Templates: time 0.02248/0.3683, allocations: 17.42 MB / 480.9 MB, free: 13.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.400855893967673]