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.001685/0.001685, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001578/0.001578, allocations: 203.6 kB / 23.73 MB, free: 4.402 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.001617/0.001617, allocations: 51.92 kB / 378.2 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2169, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006031/0.2229, allocations: 4.583 MB / 436.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008596/0.2315, allocations: 5.855 MB / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007739/0.2323, allocations: 63.31 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.2337, allocations: 472.9 kB / 442.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.2362, allocations: 0.8303 MB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2375, allocations: 438.3 kB / 443.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003419/0.241, allocations: 2.048 MB / 445.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.2412, allocations: 99.19 kB / 445.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/0.2419, allocations: 390.2 kB / 446.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005204/0.2424, allocations: 333.6 kB / 446.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.2425, allocations: 32 kB / 446.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2436, allocations: 463.6 kB / 447.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.2438, allocations: 107.2 kB / 447.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.2442, allocations: 333.7 kB / 447.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.2461, allocations: 1.295 MB / 448.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2461, allocations: 8 kB / 448.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2461, allocations: 0 / 448.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.22e-05/0.2462, allocations: 0 / 448.9 MB, free: 5.551 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.00243/0.2486, allocations: 1.411 MB / 450.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2486, allocations: 12.03 kB / 450.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.249, allocations: 155 kB / 450.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.2506, allocations: 0.7639 MB / 451.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.2506, allocations: 24.38 kB / 451.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.2507, allocations: 19.95 kB / 451.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008985/0.2516, allocations: 370.7 kB / 451.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2516, allocations: 0 / 451.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.2516, allocations: 16 kB / 451.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2517, allocations: 4 kB / 451.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.2524, allocations: 263.5 kB / 451.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.2552, allocations: 0.9586 MB / 452.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.2557, allocations: 250.6 kB / 453.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.2563, allocations: 307.2 kB / 453.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007773/0.257, allocations: 169.3 kB / 453.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.2571, allocations: 34.56 kB / 453.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.505e-06/0.2571, allocations: 0 / 453.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003279/0.2604, allocations: 1.501 MB / 455.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.2604, allocations: 110.8 kB / 455.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.2617, allocations: 0.9378 MB / 456.1 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.2618, allocations: 33.7 kB / 456.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.2621, allocations: 349.8 kB / 456.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2622, allocations: 142.7 kB / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.2624, allocations: 117.7 kB / 456.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2626, allocations: 325.9 kB / 457.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.2629, allocations: 162.3 kB / 457.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.2632, allocations: 223 kB / 457.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.2647, allocations: 0.7453 MB / 458.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2647, allocations: 0 / 458.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001053/0.2657, allocations: 0.5955 MB / 458.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.2658, allocations: 37.7 kB / 458.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.2658, allocations: 19.98 kB / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.266, allocations: 65.69 kB / 458.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2663, allocations: 39.97 kB / 458.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.2691, allocations: 3.079 MB / 462 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.2695, allocations: 16.02 kB / 462 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.2695, allocations: 16 kB / 462.1 MB, free: 7.738 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.0004226/0.27, allocations: 260 kB / 462.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.2702, allocations: 131.1 kB / 462.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.2715, allocations: 0.7094 MB / 463.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2716, allocations: 3.938 kB / 463.2 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2716, allocations: 4 kB / 463.2 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.2716, allocations: 3.984 kB / 463.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.2723, allocations: 0.5007 MB / 463.7 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/0.2723, allocations: 12 kB / 463.7 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2725, allocations: 35.97 kB / 463.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.2727, allocations: 73.61 kB / 463.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.2728, allocations: 16 kB / 463.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.2755, allocations: 3.059 MB / 466.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2755, allocations: 4.062 kB / 466.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.2769, allocations: 0.9407 MB / 467.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.2774, allocations: 201 kB / 468 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.2775, allocations: 8 kB / 468 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.2778, allocations: 15.98 kB / 468 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2779, allocations: 35.95 kB / 468.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.2779, allocations: 20.12 kB / 468.1 MB, free: 1.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008471/0.2788, allocations: 0.6256 MB / 468.7 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2788, allocations: 0 / 468.7 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.2796, allocations: 227.5 kB / 468.9 MB, free: 0.5469 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.0006265/0.2802, allocations: 314.7 kB / 469.2 MB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.2815, allocations: 0.8197 MB / 470 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2815, allocations: 4 kB / 470.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000796/0.2823, allocations: 0.63 MB / 470.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/0.283, allocations: 112.6 kB / 470.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.2857, allocations: 1.632 MB / 472.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.2861, allocations: 413 kB / 472.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.2864, allocations: 93.64 kB / 472.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.2865, allocations: 51.42 kB / 473 MB, free: 12.27 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2865, allocations: 0 / 473 MB, free: 12.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02081/0.3073, allocations: 9.944 MB / 482.9 MB, free: 2.395 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: 4.777205619961023]