Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.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.001137/0.001137, allocations: 72.45 kB / 19.93 MB, free: 4.629 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.001209/0.001209, allocations: 169.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8748/0.8748, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03805/0.03805, allocations: 10.65 MB / 247.9 MB, free: 4.723 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 369.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.775e-05, allocations: 6.219 kB / 369.3 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001085/0.001113, allocations: 0.5007 MB / 369.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.001366, allocations: 111.6 kB / 369.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.001389, allocations: 0 / 369.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.001403, allocations: 0 / 369.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.001657, allocations: 35.09 kB / 370 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.001661, allocations: 3.938 kB / 370 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.573e-05/0.001697, allocations: 0 / 370 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.001742, allocations: 4 kB / 370 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.001762, allocations: 0 / 370 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.001884, allocations: 8 kB / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.001889, allocations: 0 / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.001893, allocations: 0 / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.001904, allocations: 4 kB / 370 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.128e-05/0.001915, allocations: 0 / 370 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.479e-05/0.00196, allocations: 3.984 kB / 370 MB, free: 5.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.001962, allocations: 0 / 370 MB, free: 5.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.001963, allocations: 0 / 370 MB, free: 5.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.001967, allocations: 3.938 kB / 370 MB, free: 5.273 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002614/0.002228, allocations: 242.4 kB / 370.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.002275, allocations: 12.03 kB / 370.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.002308, allocations: 0.9375 kB / 370.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.821e-05/0.002366, allocations: 101.8 kB / 370.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.002378, allocations: 384 / 370.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.002386, allocations: 8.375 kB / 370.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.002479, allocations: 43.97 kB / 370.4 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.002487, allocations: 192 / 370.4 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.002497, allocations: 4.375 kB / 370.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.002502, allocations: 384 / 370.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.002521, allocations: 11.88 kB / 370.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.002789, allocations: 407.3 kB / 370.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.002869, allocations: 173.2 kB / 371 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.002897, allocations: 80.14 kB / 371.1 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.002921, allocations: 79.22 kB / 371.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.002963, allocations: 109.8 kB / 371.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.002965, allocations: 3.984 kB / 371.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.259e-05/0.003027, allocations: 33.64 kB / 371.3 MB, free: 3.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.00308, allocations: 130.7 kB / 371.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.003156, allocations: 97.8 kB / 371.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.003167, allocations: 25.7 kB / 371.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.00321, allocations: 92.02 kB / 371.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.003214, allocations: 0 / 371.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.00324, allocations: 17.72 kB / 371.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.003318, allocations: 310.8 kB / 371.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-06/0.003327, allocations: 4.125 kB / 371.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.003344, allocations: 17.66 kB / 372 MB, free: 3.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.003378, allocations: 17.72 kB / 372 MB, free: 3.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00338, allocations: 0 / 372 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.033e-05/0.00347, allocations: 45.58 kB / 372 MB, free: 3.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.003485, allocations: 11.94 kB / 372 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.003489, allocations: 0 / 372 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.003501, allocations: 0 / 372 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.003555, allocations: 8.125 kB / 372 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.003561, allocations: 0 / 372 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.00357, allocations: 3.938 kB / 372 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.003575, allocations: 0 / 372 MB, free: 3.02 MB / 298.7 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.003646, allocations: 191.1 kB / 372.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.003684, allocations: 108.9 kB / 372.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.003723, allocations: 116.1 kB / 372.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.955e-05/0.003773, allocations: 176.3 kB / 372.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-05/0.003821, allocations: 184.2 kB / 372.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/0.003871, allocations: 180.3 kB / 373 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.004003, allocations: 360.8 kB / 373.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/0.004031, allocations: 105 kB / 373.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.004056, allocations: 101 kB / 373.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.354e-05/0.0041, allocations: 180.4 kB / 373.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.004153, allocations: 184.2 kB / 373.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.603e-05/0.004199, allocations: 188.2 kB / 374.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-05/0.004249, allocations: 180.3 kB / 374.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.004631, allocations: 1.071 MB / 375.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.004669, allocations: 101 kB / 375.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.004731, allocations: 188.2 kB / 375.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.00478, allocations: 104.9 kB / 375.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.004841, allocations: 188.3 kB / 375.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.004872, allocations: 104.9 kB / 376 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.004899, allocations: 75.28 kB / 376.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004899, allocations: 0 / 376.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.005112, allocations: 7.938 kB / 376.1 MB, free: 14.76 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.005219, allocations: 166.5 kB / 376.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.076e-05/0.00529, allocations: 4 kB / 376.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.005291, allocations: 3.938 kB / 376.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.053e-06/0.005293, allocations: 8.219 kB / 376.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.005546, allocations: 455.7 kB / 376.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.00579, allocations: 160.2 kB / 376.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.43e-05/0.005845, allocations: 63.2 kB / 376.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.498e-05/0.00587, allocations: 0 / 376.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.005896, allocations: 8.5 kB / 376.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.005896, allocations: 0 / 376.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of Templates: time 0.001624/0.00752, allocations: 185.1 kB / 377.1 MB, free: 13.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.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: 2.9383006151765585]