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.002355/0.002355, allocations: 96.97 kB / 20.23 MB, free: 4.199 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.002647/0.002647, allocations: 165.2 kB / 23.54 MB, free: 0.8867 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 1.331/1.331, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.0758/0.0758, allocations: 10.66 MB / 248.3 MB, free: 4.527 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.512e-06/1.512e-06, allocations: 0 / 317.1 MB, free: 42.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.69e-05, allocations: 2.312 kB / 317.1 MB, free: 42.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001314/0.001341, allocations: 492 kB / 317.5 MB, free: 41.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.001606, allocations: 119.6 kB / 317.7 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.001631, allocations: 0 / 317.7 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.001642, allocations: 0 / 317.7 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.00189, allocations: 19.44 kB / 317.7 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.506e-06/0.001894, allocations: 4 kB / 317.7 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.056e-05/0.001924, allocations: 7.922 kB / 317.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.00196, allocations: 4.703 kB / 317.7 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.213e-05/0.001982, allocations: 4 kB / 317.7 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.002092, allocations: 6.297 kB / 317.7 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-06/0.002097, allocations: 0 / 317.7 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.0021, allocations: 4 kB / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-06/0.002106, allocations: 0 / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.036e-05/0.002117, allocations: 0 / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.261e-05/0.002149, allocations: 4 kB / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002151, allocations: 0 / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002152, allocations: 0 / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.002155, allocations: 0 / 317.7 MB, free: 41.72 MB / 282.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.0001872/0.002343, allocations: 337.8 kB / 318 MB, free: 41.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.002377, allocations: 12.73 kB / 318 MB, free: 41.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.002411, allocations: 4.875 kB / 318.1 MB, free: 41.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.387e-05/0.002455, allocations: 113.3 kB / 318.2 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.002466, allocations: 384 / 318.2 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.002474, allocations: 4.375 kB / 318.2 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.911e-05/0.002553, allocations: 55.5 kB / 318.2 MB, free: 41.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.002561, allocations: 1.062 kB / 318.2 MB, free: 41.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.002568, allocations: 384 / 318.2 MB, free: 41.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.002571, allocations: 384 / 318.2 MB, free: 41.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.00259, allocations: 12.72 kB / 318.2 MB, free: 41.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.002808, allocations: 0.589 MB / 318.8 MB, free: 40.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.002861, allocations: 266.3 kB / 319.1 MB, free: 40.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.002879, allocations: 126.9 kB / 319.2 MB, free: 40.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.002898, allocations: 119.2 kB / 319.3 MB, free: 39.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.00292, allocations: 157.5 kB / 319.5 MB, free: 39.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.002921, allocations: 0 / 319.5 MB, free: 39.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.935e-05/0.00298, allocations: 39.36 kB / 319.5 MB, free: 39.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.003011, allocations: 171.4 kB / 319.7 MB, free: 39.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.003071, allocations: 159.8 kB / 319.8 MB, free: 39.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-06/0.003076, allocations: 25.7 kB / 319.9 MB, free: 39.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.003102, allocations: 134.8 kB / 320 MB, free: 39.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.003104, allocations: 0 / 320 MB, free: 39.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.003129, allocations: 24.31 kB / 320 MB, free: 39.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.003184, allocations: 493.2 kB / 320.5 MB, free: 38.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-06/0.003192, allocations: 0 / 320.5 MB, free: 38.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.003204, allocations: 28.44 kB / 320.5 MB, free: 38.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.003228, allocations: 23.31 kB / 320.6 MB, free: 38.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003229, allocations: 0 / 320.6 MB, free: 38.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.588e-05/0.003315, allocations: 43.56 kB / 320.6 MB, free: 38.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.003327, allocations: 12.78 kB / 320.6 MB, free: 38.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.003332, allocations: 1.953 kB / 320.6 MB, free: 38.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.003344, allocations: 0 / 320.6 MB, free: 38.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.003389, allocations: 4.984 kB / 320.6 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.003393, allocations: 128 / 320.6 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.003406, allocations: 7.953 kB / 320.6 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.003411, allocations: 4 kB / 320.6 MB, free: 38.58 MB / 282.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 4.693e-05/0.003458, allocations: 272.5 kB / 320.9 MB, free: 38.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.003497, allocations: 157.5 kB / 321 MB, free: 38.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.003528, allocations: 157.6 kB / 321.2 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.003557, allocations: 269 kB / 321.5 MB, free: 37.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/0.003587, allocations: 268 kB / 321.7 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.003617, allocations: 269.1 kB / 322 MB, free: 37.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.003756, allocations: 0.4976 MB / 322.5 MB, free: 36.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.003773, allocations: 145.7 kB / 322.6 MB, free: 36.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.00379, allocations: 149.5 kB / 322.8 MB, free: 36.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.979e-05/0.00382, allocations: 268.8 kB / 323 MB, free: 36.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.003851, allocations: 268.7 kB / 323.3 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.954e-05/0.003881, allocations: 272.7 kB / 323.6 MB, free: 35.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.032e-05/0.003911, allocations: 268.8 kB / 323.8 MB, free: 35.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.004158, allocations: 1.62 MB / 325.4 MB, free: 33.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.004179, allocations: 148.9 kB / 325.6 MB, free: 33.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.004217, allocations: 268.1 kB / 325.9 MB, free: 33.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.004269, allocations: 148.8 kB / 326 MB, free: 32.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.004305, allocations: 268.1 kB / 326.3 MB, free: 32.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.004325, allocations: 156.8 kB / 326.4 MB, free: 32.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.194e-05/0.004347, allocations: 119.2 kB / 326.5 MB, free: 32.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004347, allocations: 4 kB / 326.5 MB, free: 32.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.004681, allocations: 3.938 kB / 326.5 MB, free: 32.43 MB / 282.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 7.169e-05/0.004753, allocations: 210.4 kB / 326.7 MB, free: 32.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.77e-05/0.00481, allocations: 11.69 kB / 326.8 MB, free: 32.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.004812, allocations: 4 kB / 326.8 MB, free: 32.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.004813, allocations: 0 / 326.8 MB, free: 32.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.005078, allocations: 0.709 MB / 327.5 MB, free: 31.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.005256, allocations: 207.6 kB / 327.7 MB, free: 31.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.005286, allocations: 59.34 kB / 327.7 MB, free: 31.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.624e-05/0.005303, allocations: 0 / 327.7 MB, free: 31.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.005322, allocations: 8.5 kB / 327.7 MB, free: 31.17 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005322, allocations: 0 / 327.7 MB, free: 31.17 MB / 282.7 MB Notification: Performance of Templates: time 0.002597/0.007919, allocations: 203.8 kB / 327.9 MB, free: 30.98 MB / 282.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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] 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: 4.379619461949915]