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.001684/0.001684, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001744/0.001744, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.407/1.407, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.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.001597/0.001597, allocations: 47.92 kB / 371.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2344, allocations: 52.17 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006163/0.2406, allocations: 4.571 MB / 428.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008614/0.2492, allocations: 5.813 MB / 434.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006625/0.2498, allocations: 63.31 kB / 434.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.2511, allocations: 472.6 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.2533, allocations: 0.8303 MB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.2546, allocations: 430.5 kB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.2575, allocations: 2.005 MB / 438 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.2578, allocations: 103.2 kB / 438.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.2583, allocations: 386.3 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.2587, allocations: 321.7 kB / 438.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.2588, allocations: 32 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000984/0.2598, allocations: 459.4 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2599, allocations: 107.3 kB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.2602, allocations: 321.8 kB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.2617, allocations: 1.287 MB / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2617, allocations: 0 / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2617, allocations: 0 / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.2617, allocations: 4 kB / 441 MB, free: 13.29 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.00203/0.2637, allocations: 1.414 MB / 442.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2638, allocations: 12.03 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.2639, allocations: 139.1 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.2652, allocations: 0.7716 MB / 443.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2652, allocations: 12.44 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.2653, allocations: 24 kB / 443.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.2658, allocations: 370.7 kB / 443.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2659, allocations: 0 / 443.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.2659, allocations: 15.98 kB / 443.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.2659, allocations: 4 kB / 443.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.2664, allocations: 267.5 kB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2681, allocations: 0.9625 MB / 444.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.2685, allocations: 244.2 kB / 445.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.2691, allocations: 310.5 kB / 445.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/0.2698, allocations: 157.4 kB / 445.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2698, allocations: 38.56 kB / 445.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/0.2698, allocations: 0 / 445.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002994/0.2728, allocations: 1.487 MB / 447.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.2729, allocations: 126.8 kB / 447.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.274, allocations: 0.9339 MB / 448.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.274, allocations: 33.7 kB / 448.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.2743, allocations: 361.7 kB / 448.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2745, allocations: 138.7 kB / 448.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.2746, allocations: 121.7 kB / 448.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2748, allocations: 317.9 kB / 449.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.2751, allocations: 162.3 kB / 449.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.2754, allocations: 223.8 kB / 449.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.2768, allocations: 0.7453 MB / 450.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2768, allocations: 0 / 450.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009926/0.2778, allocations: 0.5954 MB / 450.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.2779, allocations: 37.7 kB / 450.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.2779, allocations: 15.98 kB / 450.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.2781, allocations: 73.62 kB / 451 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2784, allocations: 47.97 kB / 451 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.2813, allocations: 3.06 MB / 454.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.2816, allocations: 11.98 kB / 454.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.2817, allocations: 20 kB / 454.1 MB, free: 15.5 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.000428/0.2821, allocations: 264 kB / 454.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.2823, allocations: 131.1 kB / 454.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2836, allocations: 0.6976 MB / 455.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.2836, allocations: 7.938 kB / 455.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2836, allocations: 7.938 kB / 455.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2836, allocations: 7.984 kB / 455.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/0.2843, allocations: 0.4929 MB / 455.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/0.2844, allocations: 16 kB / 455.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.2845, allocations: 31.97 kB / 455.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.2847, allocations: 73.67 kB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.2848, allocations: 12 kB / 455.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.2874, allocations: 3.079 MB / 458.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2874, allocations: 0 / 458.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2889, allocations: 0.9447 MB / 459.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.2893, allocations: 204.9 kB / 460.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.2894, allocations: 8 kB / 460.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.2897, allocations: 15.92 kB / 460.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2898, allocations: 39.95 kB / 460.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.2898, allocations: 12 kB / 460.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007961/0.2906, allocations: 0.6295 MB / 460.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2906, allocations: 4.062 kB / 460.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008294/0.2915, allocations: 227.6 kB / 461 MB, free: 8.289 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.0005675/0.292, allocations: 298.7 kB / 461.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.2934, allocations: 0.8229 MB / 462.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2934, allocations: 0 / 462.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007732/0.2941, allocations: 0.626 MB / 462.8 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.2948, allocations: 120.6 kB / 462.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.2972, allocations: 1.689 MB / 464.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.2976, allocations: 417 kB / 465 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.2977, allocations: 47.44 kB / 465 MB, free: 4.062 MB / 366.1 MB Notification: Performance of SimCode: time 1.392e-06/0.2977, allocations: 0 / 465 MB, free: 4.062 MB / 366.1 MB Notification: Performance of Templates: time 0.02322/0.321, allocations: 17.79 MB / 482.8 MB, free: 2.27 MB / 382.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.137502980884165]