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.001805/0.001805, allocations: 113 kB / 19.04 MB, free: 3.254 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.002072/0.002072, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.388/1.388, allocations: 225.6 MB / 250.8 MB, free: 13.35 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.00144/0.00144, allocations: 43.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2335, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006182/0.2397, allocations: 5.243 MB / 426.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008397/0.2481, allocations: 6.664 MB / 432.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.2484, allocations: 47.62 kB / 432.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.2495, allocations: 0.5004 MB / 433.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.251, allocations: 0.8147 MB / 434.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008602/0.2519, allocations: 430.5 kB / 434.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.2545, allocations: 2.005 MB / 436.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.2547, allocations: 99.06 kB / 436.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.2552, allocations: 378.1 kB / 437 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.2555, allocations: 349.7 kB / 437.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.2556, allocations: 28 kB / 437.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.2564, allocations: 487.5 kB / 437.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2566, allocations: 111.2 kB / 438 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.2569, allocations: 445.1 kB / 438.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.2583, allocations: 1.276 MB / 439.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2583, allocations: 0 / 439.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2583, allocations: 0 / 439.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2583, allocations: 0 / 439.7 MB, free: 12.2 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.001925/0.2603, allocations: 1.486 MB / 441.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2603, allocations: 12.03 kB / 441.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.2605, allocations: 135.1 kB / 441.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2616, allocations: 0.867 MB / 442.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2616, allocations: 16.44 kB / 442.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.2616, allocations: 24 kB / 442.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.2622, allocations: 310.6 kB / 442.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2622, allocations: 0 / 442.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.2622, allocations: 8 kB / 442.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2622, allocations: 12 kB / 442.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.2626, allocations: 225.7 kB / 442.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.2643, allocations: 1.115 MB / 443.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.2647, allocations: 214.5 kB / 444.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.2652, allocations: 268.9 kB / 444.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009632/0.2661, allocations: 0.7554 MB / 445.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.2662, allocations: 42.56 kB / 445.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.522e-06/0.2662, allocations: 3.938 kB / 445.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002834/0.269, allocations: 1.566 MB / 446.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.2691, allocations: 118.8 kB / 446.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.2701, allocations: 0.9339 MB / 447.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.2701, allocations: 37.62 kB / 447.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.2704, allocations: 357.7 kB / 448.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2706, allocations: 142.8 kB / 448.3 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.2707, allocations: 117.7 kB / 448.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2709, allocations: 321.9 kB / 448.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.2711, allocations: 120.6 kB / 448.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.2714, allocations: 171.8 kB / 449 MB, free: 2.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.2728, allocations: 0.7218 MB / 449.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2728, allocations: 4 kB / 449.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009296/0.2737, allocations: 0.5621 MB / 450.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.2737, allocations: 37.7 kB / 450.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.2738, allocations: 15.98 kB / 450.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.274, allocations: 69.72 kB / 450.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2742, allocations: 47.91 kB / 450.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.277, allocations: 3.328 MB / 453.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.2773, allocations: 12.03 kB / 453.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.2773, allocations: 23.98 kB / 453.8 MB, free: 13.2 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.0003598/0.2777, allocations: 255.9 kB / 454.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.2779, allocations: 135.1 kB / 454.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2791, allocations: 0.653 MB / 454.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.2791, allocations: 4 kB / 454.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2791, allocations: 3.938 kB / 454.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2791, allocations: 3.984 kB / 454.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.2799, allocations: 0.6122 MB / 455.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.28, allocations: 16 kB / 455.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.2801, allocations: 35.91 kB / 455.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.2803, allocations: 73.67 kB / 455.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.2804, allocations: 16 kB / 455.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.2831, allocations: 3.339 MB / 459 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2831, allocations: 3.938 kB / 459 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.2844, allocations: 0.867 MB / 459.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.2848, allocations: 280.2 kB / 460.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.2849, allocations: 4 kB / 460.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2851, allocations: 12 kB / 460.1 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.2852, allocations: 43.89 kB / 460.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.2853, allocations: 12 kB / 460.2 MB, free: 6.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007629/0.286, allocations: 0.6335 MB / 460.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.286, allocations: 0 / 460.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007645/0.2868, allocations: 227.6 kB / 461 MB, free: 5.582 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.0005322/0.2873, allocations: 299.1 kB / 461.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2884, allocations: 0.7376 MB / 462.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2884, allocations: 0 / 462.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006986/0.2891, allocations: 0.597 MB / 462.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.2897, allocations: 108.8 kB / 462.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.292, allocations: 1.602 MB / 464.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.2926, allocations: 1 MB / 465.4 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.2928, allocations: 93.64 kB / 465.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.2929, allocations: 51.42 kB / 465.5 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2929, allocations: 3.938 kB / 465.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of Templates: time 0.01705/0.3099, allocations: 8.884 MB / 474.4 MB, free: 8.051 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/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: 4.616565286181867]