Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001569/0.001569, allocations: 104.6 kB / 21.18 MB, free: 0.6992 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.001454/0.001454, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 55.92 kB / 347.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.242, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004787/0.2468, allocations: 5.246 MB / 402 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006969/0.2537, allocations: 6.608 MB / 408.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.2544, allocations: 64.31 kB / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2556, allocations: 0.4964 MB / 409.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.2577, allocations: 0.8261 MB / 410 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.2589, allocations: 436.9 kB / 410.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.2622, allocations: 1.987 MB / 412.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.2625, allocations: 107.9 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007016/0.2632, allocations: 375.2 kB / 412.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.2637, allocations: 351.4 kB / 413.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.2637, allocations: 30 kB / 413.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.265, allocations: 464.9 kB / 413.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2651, allocations: 108.1 kB / 413.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.2655, allocations: 451.8 kB / 414.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.2672, allocations: 1.279 MB / 415.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2672, allocations: 0 / 415.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2672, allocations: 0 / 415.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.2673, allocations: 0 / 415.6 MB, free: 13.3 MB / 334.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.00211/0.2694, allocations: 1.414 MB / 417 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2694, allocations: 18.2 kB / 417 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2696, allocations: 136.3 kB / 417.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.2708, allocations: 0.7644 MB / 417.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2708, allocations: 18.34 kB / 417.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.2709, allocations: 30.92 kB / 418 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.2714, allocations: 312.9 kB / 418.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2715, allocations: 3.938 kB / 418.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.2715, allocations: 10.03 kB / 418.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2715, allocations: 5.781 kB / 418.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.2719, allocations: 230.3 kB / 418.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2737, allocations: 1.06 MB / 419.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.2741, allocations: 219.3 kB / 419.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.2746, allocations: 256.8 kB / 420 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.2753, allocations: 157.8 kB / 420.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2753, allocations: 36.86 kB / 420.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.2753, allocations: 0 / 420.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002914/0.2782, allocations: 1.416 MB / 421.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.2783, allocations: 112.4 kB / 421.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.2794, allocations: 0.9353 MB / 422.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2794, allocations: 30.95 kB / 422.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.2797, allocations: 361.9 kB / 423.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.2798, allocations: 137.8 kB / 423.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.28, allocations: 118 kB / 423.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2802, allocations: 325.7 kB / 423.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.2804, allocations: 125.8 kB / 423.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.2807, allocations: 157.3 kB / 423.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.2821, allocations: 0.7463 MB / 424.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2821, allocations: 3.938 kB / 424.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009692/0.2831, allocations: 0.5621 MB / 425.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.2832, allocations: 37.7 kB / 425.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/0.2832, allocations: 15.98 kB / 425.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.2834, allocations: 69.69 kB / 425.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.2837, allocations: 47.94 kB / 425.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.2866, allocations: 3.124 MB / 428.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.287, allocations: 16.02 kB / 428.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.287, allocations: 20 kB / 428.5 MB, free: 3.078 MB / 334.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.0004336/0.2875, allocations: 264 kB / 428.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.2876, allocations: 127.2 kB / 428.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.289, allocations: 0.6725 MB / 429.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.289, allocations: 8 kB / 429.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.289, allocations: 4 kB / 429.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.289, allocations: 0 / 429.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.2899, allocations: 0.5838 MB / 430.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/0.2899, allocations: 15.98 kB / 430.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.2901, allocations: 31.98 kB / 430.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.2903, allocations: 65.67 kB / 430.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.2903, allocations: 19.98 kB / 430.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/0.2932, allocations: 3.125 MB / 433.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2932, allocations: 3.938 kB / 433.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.2947, allocations: 0.8596 MB / 434.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.2951, allocations: 212.9 kB / 434.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2952, allocations: 11.94 kB / 434.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.2955, allocations: 8 kB / 434.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.2956, allocations: 35.94 kB / 434.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.2957, allocations: 16 kB / 434.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008966/0.2966, allocations: 0.6256 MB / 435.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2966, allocations: 12 kB / 435.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008705/0.2974, allocations: 223.6 kB / 435.5 MB, free: 11.84 MB / 350.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.0005718/0.298, allocations: 302.5 kB / 435.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.2992, allocations: 0.7386 MB / 436.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2993, allocations: 0 / 436.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.3, allocations: 0.5892 MB / 437.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/0.3006, allocations: 101 kB / 437.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.3031, allocations: 1.611 MB / 438.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.3038, allocations: 0.9999 MB / 439.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.3041, allocations: 93.64 kB / 439.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.3042, allocations: 51.42 kB / 439.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3042, allocations: 0 / 439.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of Templates: time 0.01844/0.3226, allocations: 8.944 MB / 448.9 MB, free: 14.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.6702450113371015]