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.001884/0.001884, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002294/0.002294, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.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.001633/0.001633, allocations: 47.94 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09685, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1951/0.2919, allocations: 5.217 MB / 432 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009997/0.3019, allocations: 6.7 MB / 438.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.3031, allocations: 59.69 kB / 438.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.3049, allocations: 0.4956 MB / 439.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003111/0.308, allocations: 0.8229 MB / 440.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3094, allocations: 443.3 kB / 440.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.3125, allocations: 2.049 MB / 442.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.3127, allocations: 97.55 kB / 442.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.3133, allocations: 397.2 kB / 443 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.3137, allocations: 343.8 kB / 443.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.3137, allocations: 29.5 kB / 443.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.3151, allocations: 0.4928 MB / 443.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3152, allocations: 111.1 kB / 444 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.3156, allocations: 450.2 kB / 444.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3171, allocations: 1.284 MB / 445.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3171, allocations: 0.5625 kB / 445.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3171, allocations: 5.094 kB / 445.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3171, allocations: 0 / 445.7 MB, free: 2.008 MB / 350.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.001851/0.319, allocations: 1.497 MB / 447.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.319, allocations: 8.75 kB / 447.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.3194, allocations: 155.5 kB / 447.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3204, allocations: 0.8576 MB / 448.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3204, allocations: 21.75 kB / 448.3 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.3205, allocations: 22.58 kB / 448.3 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.321, allocations: 309.7 kB / 448.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.321, allocations: 0 / 448.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.3211, allocations: 10.94 kB / 448.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3211, allocations: 7.953 kB / 448.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.3215, allocations: 227.1 kB / 448.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.3236, allocations: 1.117 MB / 450 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.324, allocations: 215.9 kB / 450.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.3246, allocations: 275.8 kB / 450.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.3258, allocations: 0.8316 MB / 451.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.3258, allocations: 32.78 kB / 451.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.783e-06/0.3258, allocations: 0 / 451.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003657/0.3295, allocations: 1.563 MB / 452.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.3296, allocations: 117.5 kB / 453 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.3309, allocations: 0.9371 MB / 453.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.3309, allocations: 27.08 kB / 453.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.3313, allocations: 358 kB / 454.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3314, allocations: 141.5 kB / 454.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3316, allocations: 118.4 kB / 454.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3318, allocations: 326.9 kB / 454.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.332, allocations: 122.2 kB / 455 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.3323, allocations: 153.7 kB / 455.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.334, allocations: 0.7349 MB / 455.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.334, allocations: 1.188 kB / 455.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001137/0.3351, allocations: 0.5595 MB / 456.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.3352, allocations: 40.33 kB / 456.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.3352, allocations: 12.41 kB / 456.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.3355, allocations: 71.44 kB / 456.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.3357, allocations: 45 kB / 456.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.3388, allocations: 3.332 MB / 459.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.3394, allocations: 12.09 kB / 459.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.3395, allocations: 21.16 kB / 460 MB, free: 7.816 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.0005813/0.3401, allocations: 259.6 kB / 460.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.3403, allocations: 131.2 kB / 460.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.3419, allocations: 0.6692 MB / 461 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3419, allocations: 2.812 kB / 461 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3419, allocations: 2.594 kB / 461 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3419, allocations: 5.969 kB / 461 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.3431, allocations: 0.6138 MB / 461.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/0.3431, allocations: 16.45 kB / 461.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.3433, allocations: 39.08 kB / 461.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.3436, allocations: 71 kB / 461.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.3436, allocations: 13.5 kB / 461.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.3468, allocations: 3.336 MB / 465.1 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3468, allocations: 3.938 kB / 465.1 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3484, allocations: 0.8517 MB / 466 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.349, allocations: 278.8 kB / 466.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.3491, allocations: 6.719 kB / 466.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.3493, allocations: 13.12 kB / 466.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3495, allocations: 37.55 kB / 466.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.3495, allocations: 19.56 kB / 466.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.3506, allocations: 0.625 MB / 466.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3506, allocations: 0 / 466.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001123/0.3517, allocations: 223.8 kB / 467.2 MB, free: 2.523 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.0006868/0.3524, allocations: 326.7 kB / 467.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.3537, allocations: 0.744 MB / 468.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3537, allocations: 0 / 468.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.3546, allocations: 0.5861 MB / 468.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.3552, allocations: 111 kB / 468.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.358, allocations: 1.611 MB / 470.5 MB, free: 128 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.3587, allocations: 1.008 MB / 471.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.359, allocations: 94.69 kB / 471.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3591, allocations: 46.31 kB / 471.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3591, allocations: 0 / 471.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01945/0.3786, allocations: 8.789 MB / 480.5 MB, free: 9.457 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/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: 5.02289205789566]