Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 230.4 MB / 251.1 MB, free: 8.434 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002835, allocations: 67.83 kB / 368.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2509, allocations: 53.31 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006346/0.2573, allocations: 5.236 MB / 427.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.2662, allocations: 6.682 MB / 434.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005659/0.2668, allocations: 43.62 kB / 434.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.268, allocations: 0.5081 MB / 434.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.2702, allocations: 0.8147 MB / 435.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2713, allocations: 446.3 kB / 436 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002984/0.2743, allocations: 2.044 MB / 438 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.2746, allocations: 99.06 kB / 438.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.2751, allocations: 382.2 kB / 438.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.2756, allocations: 341.7 kB / 438.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.2757, allocations: 28 kB / 438.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.2767, allocations: 0.4995 MB / 439.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2769, allocations: 111.2 kB / 439.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.2773, allocations: 445 kB / 439.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.2788, allocations: 1.291 MB / 441.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2788, allocations: 4 kB / 441.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2788, allocations: 0 / 441.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2788, allocations: 0 / 441.2 MB, free: 4.836 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.002046/0.2809, allocations: 1.485 MB / 442.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2809, allocations: 12.03 kB / 442.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.2812, allocations: 151 kB / 442.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2824, allocations: 0.8592 MB / 443.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2824, allocations: 20.44 kB / 443.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.2825, allocations: 23.94 kB / 443.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.283, allocations: 306.7 kB / 444 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.283, allocations: 0 / 444 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.2831, allocations: 15.94 kB / 444 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2831, allocations: 4 kB / 444 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.2835, allocations: 229.7 kB / 444.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2853, allocations: 1.115 MB / 445.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.2857, allocations: 222.4 kB / 445.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.2862, allocations: 261 kB / 445.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.2872, allocations: 0.8424 MB / 446.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2872, allocations: 34.56 kB / 446.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.804e-06/0.2872, allocations: 0 / 446.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003083/0.2903, allocations: 1.567 MB / 448.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.2904, allocations: 110.8 kB / 448.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.2915, allocations: 0.934 MB / 449.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2915, allocations: 25.7 kB / 449.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.2919, allocations: 357.8 kB / 449.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.292, allocations: 138.8 kB / 449.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.2922, allocations: 121.7 kB / 450 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2923, allocations: 329.9 kB / 450.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.2926, allocations: 120.6 kB / 450.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.2929, allocations: 155.8 kB / 450.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.2945, allocations: 0.7374 MB / 451.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2945, allocations: 0 / 451.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009684/0.2954, allocations: 0.5544 MB / 451.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.2955, allocations: 41.69 kB / 451.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/0.2955, allocations: 16 kB / 451.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.2957, allocations: 77.7 kB / 452 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.296, allocations: 47.91 kB / 452 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.2988, allocations: 3.325 MB / 455.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.2991, allocations: 19.95 kB / 455.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.2991, allocations: 23.98 kB / 455.4 MB, free: 5.746 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.0003877/0.2995, allocations: 255.9 kB / 455.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.2997, allocations: 131.1 kB / 455.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.3015, allocations: 0.6646 MB / 456.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3015, allocations: 4 kB / 456.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3015, allocations: 0 / 456.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.3015, allocations: 3.984 kB / 456.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3026, allocations: 0.616 MB / 457.1 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/0.3026, allocations: 11.94 kB / 457.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.3029, allocations: 55.84 kB / 457.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.3031, allocations: 65.67 kB / 457.2 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.3032, allocations: 16 kB / 457.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.3068, allocations: 3.324 MB / 460.5 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3068, allocations: 0 / 460.5 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.3088, allocations: 0.8594 MB / 461.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.3093, allocations: 284.2 kB / 461.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.3095, allocations: 11.94 kB / 461.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.3099, allocations: 8 kB / 461.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.31, allocations: 39.95 kB / 461.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.3101, allocations: 20 kB / 461.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.3113, allocations: 0.6217 MB / 462.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3113, allocations: 0 / 462.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001247/0.3125, allocations: 227.6 kB / 462.6 MB, free: 14.14 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.0008311/0.3133, allocations: 310.6 kB / 462.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.3151, allocations: 0.7456 MB / 463.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3151, allocations: 3.938 kB / 463.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.316, allocations: 0.5815 MB / 464.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.3169, allocations: 115.5 kB / 464.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.3199, allocations: 1.613 MB / 466 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.3205, allocations: 1 MB / 467 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.3207, allocations: 97.64 kB / 467.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.3208, allocations: 47.42 kB / 467.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3208, allocations: 0 / 467.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02389/0.3447, allocations: 8.863 MB / 476 MB, free: 0.6016 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches