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.001364/0.001364, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001588/0.001588, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.001488/0.001488, allocations: 47.92 kB / 379 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2267, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006233/0.2329, allocations: 5.247 MB / 437.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008666/0.2416, allocations: 6.723 MB / 444.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.2422, allocations: 59.38 kB / 444.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.2436, allocations: 0.4966 MB / 444.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.2459, allocations: 0.8303 MB / 445.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2471, allocations: 442.4 kB / 446.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.2503, allocations: 2.056 MB / 448.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.2506, allocations: 99.2 kB / 448.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.2512, allocations: 394.1 kB / 448.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.2516, allocations: 337.7 kB / 449 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.2517, allocations: 28 kB / 449.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.2528, allocations: 0.4995 MB / 449.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2529, allocations: 107.3 kB / 449.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.2533, allocations: 453 kB / 450.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.255, allocations: 1.287 MB / 451.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.255, allocations: 0 / 451.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.255, allocations: 0 / 451.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.255, allocations: 0 / 451.4 MB, free: 3.844 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.002074/0.2571, allocations: 1.419 MB / 452.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2571, allocations: 11.97 kB / 452.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.2575, allocations: 147.1 kB / 453 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.2586, allocations: 0.7677 MB / 453.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2586, allocations: 20.44 kB / 453.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.2587, allocations: 27.95 kB / 453.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.2592, allocations: 307.2 kB / 454.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2592, allocations: 0 / 454.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.2593, allocations: 12 kB / 454.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.2593, allocations: 4 kB / 454.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.2597, allocations: 229.8 kB / 454.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.2615, allocations: 1.073 MB / 455.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.2619, allocations: 214.5 kB / 455.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.2624, allocations: 265.6 kB / 455.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007324/0.2631, allocations: 165.4 kB / 456 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.2631, allocations: 34.56 kB / 456.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.154e-06/0.2631, allocations: 0 / 456.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002809/0.2659, allocations: 1.431 MB / 457.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.266, allocations: 110.8 kB / 457.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2671, allocations: 0.9339 MB / 458.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.2671, allocations: 33.7 kB / 458.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.2674, allocations: 353.8 kB / 458.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.2675, allocations: 146.7 kB / 459.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.2677, allocations: 117.7 kB / 459.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2678, allocations: 329.9 kB / 459.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2681, allocations: 120.6 kB / 459.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.2684, allocations: 160.4 kB / 459.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.2698, allocations: 0.7414 MB / 460.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2698, allocations: 3.984 kB / 460.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000967/0.2707, allocations: 0.5547 MB / 461.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.2708, allocations: 45.62 kB / 461.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.2708, allocations: 12 kB / 461.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.271, allocations: 77.61 kB / 461.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.2713, allocations: 43.97 kB / 461.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.274, allocations: 3.121 MB / 464.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.2743, allocations: 16.11 kB / 464.4 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.2744, allocations: 20 kB / 464.4 MB, free: 6.266 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.0004563/0.2748, allocations: 259.9 kB / 464.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.275, allocations: 131.1 kB / 464.8 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.2763, allocations: 0.6686 MB / 465.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.2763, allocations: 4 kB / 465.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2763, allocations: 0 / 465.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2763, allocations: 3.984 kB / 465.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.277, allocations: 0.5956 MB / 466 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/0.277, allocations: 16 kB / 466.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.2772, allocations: 35.91 kB / 466.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/0.2774, allocations: 65.67 kB / 466.2 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.2774, allocations: 16 kB / 466.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.28, allocations: 3.125 MB / 469.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.28, allocations: 0 / 469.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2814, allocations: 0.8593 MB / 470.2 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.2818, allocations: 201.3 kB / 470.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.2819, allocations: 11.98 kB / 470.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.2821, allocations: 8 kB / 470.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.2822, allocations: 35.7 kB / 470.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.2823, allocations: 19.98 kB / 470.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007954/0.2831, allocations: 0.6295 MB / 471.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2831, allocations: 0 / 471.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008062/0.2839, allocations: 227.5 kB / 471.3 MB, free: 15.03 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.0005458/0.2844, allocations: 306.5 kB / 471.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.2855, allocations: 0.7502 MB / 472.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2856, allocations: 0 / 472.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000705/0.2863, allocations: 0.5892 MB / 472.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.2869, allocations: 115.5 kB / 473 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.2892, allocations: 1.642 MB / 474.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.2898, allocations: 1 MB / 475.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.29, allocations: 47.44 kB / 475.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.29, allocations: 0 / 475.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.02191/0.3119, allocations: 17.48 MB / 493.2 MB, free: 8.918 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 -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: 7.923337886109948]