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.001363/0.001363, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001505/0.001505, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.417/1.417, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001624/0.001624, allocations: 47.92 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2389, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006973/0.2458, allocations: 5.244 MB / 429.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009289/0.2551, allocations: 6.662 MB / 435.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008658/0.256, allocations: 67.31 kB / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.2576, allocations: 0.5023 MB / 436.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.2603, allocations: 0.8186 MB / 437.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.2617, allocations: 438.4 kB / 437.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.2652, allocations: 2.001 MB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.2655, allocations: 103.2 kB / 439.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.2661, allocations: 390.2 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.2667, allocations: 353.6 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.2668, allocations: 28 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.268, allocations: 483.5 kB / 440.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2682, allocations: 115.2 kB / 441 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.2686, allocations: 445.1 kB / 441.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.2706, allocations: 1.272 MB / 442.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2707, allocations: 3.984 kB / 442.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2707, allocations: 3.938 kB / 442.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.2707, allocations: 0 / 442.7 MB, free: 11.71 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.002338/0.273, allocations: 1.407 MB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2731, allocations: 8.031 kB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.2733, allocations: 135.1 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.2745, allocations: 0.7794 MB / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2745, allocations: 12.44 kB / 445.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.2746, allocations: 24 kB / 445.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.2752, allocations: 315.3 kB / 445.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2752, allocations: 0 / 445.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.2752, allocations: 15.94 kB / 445.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2752, allocations: 4 kB / 445.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.2756, allocations: 229.7 kB / 445.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.2776, allocations: 1.065 MB / 446.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.278, allocations: 222.4 kB / 446.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.2785, allocations: 276.9 kB / 447.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/0.2792, allocations: 149.4 kB / 447.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2792, allocations: 42.56 kB / 447.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.843e-06/0.2792, allocations: 0 / 447.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003001/0.2822, allocations: 1.421 MB / 448.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.2823, allocations: 122.8 kB / 448.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.2835, allocations: 0.93 MB / 449.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.2835, allocations: 33.69 kB / 449.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.2838, allocations: 353.8 kB / 450.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.2839, allocations: 142.7 kB / 450.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.2841, allocations: 121.7 kB / 450.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2843, allocations: 325.9 kB / 450.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.2845, allocations: 124.5 kB / 450.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.2848, allocations: 168.4 kB / 451.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.2863, allocations: 0.7297 MB / 451.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2863, allocations: 0 / 451.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001007/0.2873, allocations: 0.5585 MB / 452.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.2873, allocations: 37.7 kB / 452.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/0.2874, allocations: 24.02 kB / 452.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.2876, allocations: 61.69 kB / 452.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.2878, allocations: 47.91 kB / 452.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.2907, allocations: 3.122 MB / 455.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.291, allocations: 12.02 kB / 455.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.2911, allocations: 20.06 kB / 455.7 MB, free: 14.17 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.0004474/0.2915, allocations: 261.9 kB / 456 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.2917, allocations: 135.1 kB / 456.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.2931, allocations: 0.6687 MB / 456.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2931, allocations: 4 kB / 456.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2931, allocations: 0 / 456.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2931, allocations: 0 / 456.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.294, allocations: 0.5839 MB / 457.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.895e-05/0.294, allocations: 19.98 kB / 457.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.2942, allocations: 39.86 kB / 457.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.2944, allocations: 69.67 kB / 457.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.2945, allocations: 15.98 kB / 457.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.2972, allocations: 3.121 MB / 460.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2972, allocations: 0 / 460.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.2986, allocations: 0.8709 MB / 461.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.2991, allocations: 205 kB / 461.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.2992, allocations: 8 kB / 461.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.2995, allocations: 12.06 kB / 461.7 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.2996, allocations: 39.89 kB / 461.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.2996, allocations: 23.98 kB / 461.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008782/0.3005, allocations: 0.6217 MB / 462.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3005, allocations: 0 / 462.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008497/0.3014, allocations: 231.5 kB / 462.6 MB, free: 6.918 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.0006047/0.302, allocations: 306.6 kB / 462.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3032, allocations: 0.7453 MB / 463.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3032, allocations: 0 / 463.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.3039, allocations: 0.5931 MB / 464.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.3045, allocations: 112.9 kB / 464.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.3071, allocations: 1.634 MB / 466 MB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.3077, allocations: 1.004 MB / 467 MB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3079, allocations: 47.44 kB / 467.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3079, allocations: 0 / 467.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of Templates: time 0.02404/0.3319, allocations: 17.44 MB / 484.5 MB, free: 0.8477 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.319818168180063]