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.0008059/0.0008059, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003422/0.003422, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8969/0.8969, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.763e-06/1.763e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.77e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003996/0.004023, allocations: 4.588 MB / 330.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005472/0.009495, allocations: 5.868 MB / 336.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.00996, allocations: 59.38 kB / 336.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009476/0.01091, allocations: 484.5 kB / 336.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.01263, allocations: 0.8494 MB / 337.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.01349, allocations: 446.2 kB / 338 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.01529, allocations: 2.098 MB / 340.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.01548, allocations: 99.25 kB / 340.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.01588, allocations: 0.5142 MB / 340.7 MB, free: 312 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.0161, allocations: 227.1 kB / 341 MB, free: 84 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.01614, allocations: 32 kB / 341 MB, free: 52 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.0168, allocations: 467.4 kB / 341.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.01687, allocations: 111.2 kB / 341.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.01702, allocations: 243.2 kB / 341.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.01798, allocations: 1.308 MB / 343.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01798, allocations: 0 / 343.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01798, allocations: 0 / 343.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.01799, allocations: 0 / 343.1 MB, free: 13.93 MB / 314.7 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.001191/0.01918, allocations: 1.399 MB / 344.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01922, allocations: 15.92 kB / 344.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.01957, allocations: 151 kB / 344.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/0.02027, allocations: 0.7601 MB / 345.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.02029, allocations: 16.5 kB / 345.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.02033, allocations: 31.89 kB / 345.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.02071, allocations: 371.2 kB / 345.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.02072, allocations: 0 / 345.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.02074, allocations: 12 kB / 345.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.02075, allocations: 4 kB / 345.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.021, allocations: 255.8 kB / 346.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.02203, allocations: 0.9588 MB / 347.1 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.02232, allocations: 259.9 kB / 347.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.02262, allocations: 290.4 kB / 347.6 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.02308, allocations: 169.5 kB / 347.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.02311, allocations: 42.5 kB / 347.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.454e-06/0.02311, allocations: 0 / 347.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.00182/0.02493, allocations: 1.496 MB / 349.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.02498, allocations: 114.8 kB / 349.4 MB, free: 7.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.02564, allocations: 0.9301 MB / 350.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.02567, allocations: 29.7 kB / 350.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.02585, allocations: 357.7 kB / 350.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.02592, allocations: 138.8 kB / 350.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.02602, allocations: 121.7 kB / 351 MB, free: 5.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.0261, allocations: 322 kB / 351.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.02626, allocations: 158.3 kB / 351.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.02643, allocations: 223.8 kB / 351.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.0274, allocations: 0.7411 MB / 352.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.0274, allocations: 3.938 kB / 352.4 MB, free: 4.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005398/0.02794, allocations: 0.5993 MB / 353 MB, free: 3.629 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.02797, allocations: 37.69 kB / 353 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.02799, allocations: 16 kB / 353.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.02815, allocations: 73.61 kB / 353.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.02827, allocations: 48 kB / 353.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.02992, allocations: 3.051 MB / 356.2 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.03006, allocations: 24.09 kB / 356.3 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.0301, allocations: 19.98 kB / 356.3 MB, free: 160 kB / 314.7 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.0002875/0.03039, allocations: 256.1 kB / 356.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.03047, allocations: 131.2 kB / 356.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.03126, allocations: 0.7095 MB / 357.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.03126, allocations: 4 kB / 357.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.03126, allocations: 0 / 357.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.03127, allocations: 0 / 357.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.03166, allocations: 0.5006 MB / 357.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.03167, allocations: 15.98 kB / 357.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.03175, allocations: 31.98 kB / 357.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.03186, allocations: 73.67 kB / 358 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.03189, allocations: 15.98 kB / 358 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.03344, allocations: 3.071 MB / 361.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.03344, allocations: 0 / 361.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.03422, allocations: 0.9371 MB / 362 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.03443, allocations: 205 kB / 362.2 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.03448, allocations: 15.88 kB / 362.2 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.03461, allocations: 12.31 kB / 362.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.03468, allocations: 35.95 kB / 362.3 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.03471, allocations: 19.98 kB / 362.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005111/0.03522, allocations: 0.6256 MB / 362.9 MB, free: 9.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03522, allocations: 0 / 362.9 MB, free: 9.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000538/0.03576, allocations: 223.6 kB / 363.1 MB, free: 8.965 MB / 330.7 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.0004554/0.03621, allocations: 333.5 kB / 363.5 MB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007669/0.03698, allocations: 0.8124 MB / 364.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03698, allocations: 0 / 364.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.03738, allocations: 0.6261 MB / 364.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.03778, allocations: 108 kB / 365 MB, free: 6.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.03947, allocations: 1.621 MB / 366.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.0397, allocations: 420.9 kB / 367 MB, free: 4.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.03976, allocations: 52.44 kB / 367.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03976, allocations: 0 / 367.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of Templates: time 0.01331/0.05308, allocations: 17.87 MB / 385 MB, free: 2.914 MB / 346.7 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: 5.543665658682585]