Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 83.69 kB / 21.44 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004044/0.004044, allocations: 155.5 kB / 24.7 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.89/0.89, allocations: 177.2 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.621e-05, allocations: 3.266 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003947/0.003974, allocations: 4.594 MB / 330.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005584/0.009557, allocations: 5.873 MB / 336.3 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.01003, allocations: 59.38 kB / 336.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.01091, allocations: 472.6 kB / 336.8 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.01245, allocations: 0.8572 MB / 337.7 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.01334, allocations: 438.3 kB / 338.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.01529, allocations: 2.109 MB / 340.2 MB, free: 1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.01551, allocations: 99.23 kB / 340.3 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000797/0.01631, allocations: 0.5104 MB / 340.8 MB, free: 388 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.01654, allocations: 235.1 kB / 341 MB, free: 152 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.01658, allocations: 28 kB / 341.1 MB, free: 124 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.01726, allocations: 471.4 kB / 341.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.01733, allocations: 111.2 kB / 341.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.0175, allocations: 243.2 kB / 341.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.01854, allocations: 1.304 MB / 343.2 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01854, allocations: 0 / 343.2 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01854, allocations: 4 kB / 343.2 MB, free: 14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.01856, allocations: 0 / 343.2 MB, free: 14 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.001207/0.01976, allocations: 1.395 MB / 344.6 MB, free: 12.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.0198, allocations: 12.03 kB / 344.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.02002, allocations: 151 kB / 344.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.02074, allocations: 0.76 MB / 345.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.02075, allocations: 20.5 kB / 345.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.0208, allocations: 23.95 kB / 345.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.02118, allocations: 371.2 kB / 345.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.02119, allocations: 0 / 345.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.02121, allocations: 8 kB / 345.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.02122, allocations: 8 kB / 345.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.02148, allocations: 259.8 kB / 346.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.02252, allocations: 0.9627 MB / 347.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.02282, allocations: 255.9 kB / 347.4 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.02343, allocations: 298.4 kB / 347.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004686/0.0239, allocations: 169.4 kB / 347.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.02393, allocations: 38.5 kB / 347.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.764e-06/0.02393, allocations: 0 / 347.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.001811/0.02574, allocations: 1.498 MB / 349.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.02579, allocations: 110.8 kB / 349.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.02644, allocations: 0.934 MB / 350.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.02646, allocations: 29.7 kB / 350.4 MB, free: 6.441 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.02666, allocations: 361.7 kB / 350.8 MB, free: 6.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.02672, allocations: 130.8 kB / 350.9 MB, free: 5.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.02683, allocations: 121.7 kB / 351 MB, free: 5.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.02691, allocations: 318 kB / 351.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.02707, allocations: 154.3 kB / 351.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.02725, allocations: 235 kB / 351.7 MB, free: 5.102 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.02806, allocations: 0.7375 MB / 352.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.02806, allocations: 0 / 352.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005523/0.02862, allocations: 0.6032 MB / 353.1 MB, free: 3.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.02865, allocations: 37.69 kB / 353.1 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.02867, allocations: 19.94 kB / 353.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.02881, allocations: 69.67 kB / 353.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.02893, allocations: 39.97 kB / 353.2 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.03077, allocations: 3.067 MB / 356.3 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.03091, allocations: 15.97 kB / 356.3 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.03095, allocations: 24.17 kB / 356.3 MB, free: 232 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.0002807/0.03123, allocations: 256.2 kB / 356.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.03131, allocations: 131.2 kB / 356.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/0.03208, allocations: 0.713 MB / 357.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.03209, allocations: 4 kB / 357.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.03209, allocations: 0 / 357.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.0321, allocations: 0 / 357.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.0325, allocations: 0.5006 MB / 357.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.03251, allocations: 15.98 kB / 358 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.0326, allocations: 35.92 kB / 358 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.03271, allocations: 69.61 kB / 358.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.03273, allocations: 23.98 kB / 358.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.03415, allocations: 3.064 MB / 361.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.03415, allocations: 0 / 361.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.03523, allocations: 0.9411 MB / 362.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.03546, allocations: 201 kB / 362.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.03551, allocations: 15.92 kB / 362.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.03564, allocations: 12 kB / 362.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.0357, allocations: 27.95 kB / 362.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.03573, allocations: 23.98 kB / 362.4 MB, free: 9.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004474/0.03618, allocations: 0.6257 MB / 363 MB, free: 9.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03618, allocations: 7.938 kB / 363 MB, free: 9.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.03672, allocations: 219.6 kB / 363.2 MB, free: 9.031 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.0004462/0.03716, allocations: 322.6 kB / 363.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.03794, allocations: 0.816 MB / 364.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03794, allocations: 0 / 364.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.03833, allocations: 0.6221 MB / 365 MB, free: 7.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.03871, allocations: 112.8 kB / 365.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.0402, allocations: 1.611 MB / 366.7 MB, free: 5.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.04045, allocations: 420.9 kB / 367.1 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.04051, allocations: 48.5 kB / 367.1 MB, free: 4.867 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04051, allocations: 0 / 367.1 MB, free: 4.867 MB / 330.7 MB Notification: Performance of Templates: time 0.01399/0.0545, allocations: 17.88 MB / 385 MB, free: 2.988 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.209497154690325]