Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.384e-05, allocations: 3.688 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006034/0.006058, allocations: 4.582 MB / 329.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.01612, allocations: 5.868 MB / 335.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.01785, allocations: 67.97 kB / 335.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.01964, allocations: 476.2 kB / 336 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.02307, allocations: 0.8481 MB / 336.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.02476, allocations: 448.9 kB / 337.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004256/0.02901, allocations: 2.104 MB / 339.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.02937, allocations: 102 kB / 339.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.03048, allocations: 0.5103 MB / 340 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.03105, allocations: 235.1 kB / 340.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.03117, allocations: 28 kB / 340.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.03257, allocations: 471.4 kB / 340.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.03271, allocations: 107.2 kB / 340.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.03312, allocations: 243.2 kB / 341 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.03528, allocations: 1.3 MB / 342.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.03528, allocations: 0 / 342.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03528, allocations: 0 / 342.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.816e-05/0.03532, allocations: 0 / 342.3 MB, free: 3.672 MB / 302.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.002363/0.03768, allocations: 1.407 MB / 343.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.03773, allocations: 15.98 kB / 343.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.03815, allocations: 151 kB / 343.9 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.03955, allocations: 0.7601 MB / 344.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.03958, allocations: 20.5 kB / 344.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.03965, allocations: 23.95 kB / 344.7 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.04032, allocations: 375.1 kB / 345.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.04034, allocations: 0 / 345.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.04038, allocations: 12 kB / 345.1 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.04039, allocations: 4 kB / 345.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.04088, allocations: 255.8 kB / 345.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.04282, allocations: 0.9666 MB / 346.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.0433, allocations: 248.2 kB / 346.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.04387, allocations: 295.4 kB / 346.8 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.04465, allocations: 165.5 kB / 347 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.0447, allocations: 34.56 kB / 347 MB, free: 14.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/0.0447, allocations: 0 / 347 MB, free: 14.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.003379/0.04808, allocations: 1.504 MB / 348.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.04816, allocations: 110.8 kB / 348.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.04939, allocations: 0.9378 MB / 349.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.04944, allocations: 29.7 kB / 349.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.04977, allocations: 361.7 kB / 350 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.04989, allocations: 134.8 kB / 350.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.0501, allocations: 117.7 kB / 350.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.05024, allocations: 322 kB / 350.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.05054, allocations: 154.3 kB / 350.7 MB, free: 11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.0509, allocations: 227.7 kB / 350.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.05251, allocations: 0.745 MB / 351.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.05251, allocations: 0 / 351.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001094/0.05361, allocations: 0.6031 MB / 352.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.05365, allocations: 37.69 kB / 352.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/0.05369, allocations: 16 kB / 352.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.05393, allocations: 69.72 kB / 352.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.05418, allocations: 47.91 kB / 352.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.05711, allocations: 3.063 MB / 355.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.05745, allocations: 19.97 kB / 355.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.05751, allocations: 16 kB / 355.5 MB, free: 5.883 MB / 318.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.0004759/0.05799, allocations: 268.1 kB / 355.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.05821, allocations: 131.2 kB / 355.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.05969, allocations: 0.6939 MB / 356.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.05969, allocations: 7.984 kB / 356.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.0597, allocations: 0 / 356.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.0597, allocations: 3.938 kB / 356.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000768/0.06047, allocations: 0.5006 MB / 357.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/0.0605, allocations: 16 kB / 357.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.0607, allocations: 35.97 kB / 357.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.06092, allocations: 69.67 kB / 357.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.06096, allocations: 15.98 kB / 357.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.06379, allocations: 3.064 MB / 360.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.06379, allocations: 0 / 360.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.06541, allocations: 0.941 MB / 361.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.06586, allocations: 201 kB / 361.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.06599, allocations: 11.94 kB / 361.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.0663, allocations: 16.17 kB / 361.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.06642, allocations: 31.95 kB / 361.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.06647, allocations: 23.98 kB / 361.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009566/0.06743, allocations: 0.6256 MB / 362.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06743, allocations: 0 / 362.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008941/0.06832, allocations: 223.6 kB / 362.4 MB, free: 14.7 MB / 334.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.0007305/0.06905, allocations: 334.6 kB / 362.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.07042, allocations: 0.8124 MB / 363.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.07042, allocations: 8 kB / 363.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.07131, allocations: 0.626 MB / 364.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.072, allocations: 115.4 kB / 364.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.07467, allocations: 1.567 MB / 365.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.07512, allocations: 420.8 kB / 366.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.07542, allocations: 93.62 kB / 366.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.07553, allocations: 48.5 kB / 366.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.07553, allocations: 0 / 366.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of Templates: time 0.02013/0.09566, allocations: 8.988 MB / 375.4 MB, free: 1.539 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.667784325778484]