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.0009809/0.0009809, allocations: 79.75 kB / 20.97 MB, free: 3.582 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.0008635/0.0008635, allocations: 162 kB / 24.28 MB, free: 276 kB / 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.047/1.047, allocations: 158.6 MB / 186.1 MB, free: 2.91 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.04579/0.04579, allocations: 10.66 MB / 249 MB, free: 4.531 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.894e-06/1.894e-06, allocations: 0 / 317.8 MB, free: 42.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.218e-05, allocations: 4.781 kB / 317.8 MB, free: 42.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001444/0.001466, allocations: 0.4914 MB / 318.3 MB, free: 41.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003705/0.001837, allocations: 116 kB / 318.4 MB, free: 41.78 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.001869, allocations: 0 / 318.4 MB, free: 41.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.001883, allocations: 0 / 318.4 MB, free: 41.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.002246, allocations: 22.55 kB / 318.4 MB, free: 41.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.47e-06/0.002252, allocations: 0 / 318.4 MB, free: 41.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.002304, allocations: 4.891 kB / 318.4 MB, free: 41.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.277e-05/0.002367, allocations: 3.938 kB / 318.4 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.002404, allocations: 4.75 kB / 318.4 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.002584, allocations: 9.344 kB / 318.4 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.002593, allocations: 0 / 318.4 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-06/0.002598, allocations: 0 / 318.4 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.002617, allocations: 0 / 318.4 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.002631, allocations: 4 kB / 318.5 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.331e-05/0.002695, allocations: 4.703 kB / 318.5 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.002697, allocations: 4 kB / 318.5 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002698, allocations: 0 / 318.5 MB, free: 41.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.002705, allocations: 0 / 318.5 MB, free: 41.73 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.0002956/0.003001, allocations: 232.2 kB / 318.7 MB, free: 41.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/0.003071, allocations: 8.641 kB / 318.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.003128, allocations: 8.938 kB / 318.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.55e-05/0.003184, allocations: 102.4 kB / 318.8 MB, free: 41.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.0032, allocations: 1.078 kB / 318.8 MB, free: 41.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.003211, allocations: 384 / 318.8 MB, free: 41.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.003337, allocations: 44.72 kB / 318.9 MB, free: 41.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.003348, allocations: 4.188 kB / 318.9 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.003363, allocations: 5.172 kB / 318.9 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.003377, allocations: 4.312 kB / 318.9 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.003405, allocations: 7.938 kB / 318.9 MB, free: 41.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.003659, allocations: 424.2 kB / 319.3 MB, free: 40.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.254e-05/0.003722, allocations: 165.8 kB / 319.4 MB, free: 40.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.003739, allocations: 84.17 kB / 319.5 MB, free: 40.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.003753, allocations: 75.28 kB / 319.6 MB, free: 40.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.003777, allocations: 106.5 kB / 319.7 MB, free: 40.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.003778, allocations: 0 / 319.7 MB, free: 40.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 7.126e-05/0.00385, allocations: 34.56 kB / 319.7 MB, free: 40.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.003881, allocations: 134.7 kB / 319.9 MB, free: 40.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.003952, allocations: 99.41 kB / 320 MB, free: 40.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.003958, allocations: 25.7 kB / 320 MB, free: 40.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.003988, allocations: 88.55 kB / 320.1 MB, free: 39.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.003991, allocations: 0 / 320.1 MB, free: 39.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.00402, allocations: 18.42 kB / 320.1 MB, free: 39.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.004065, allocations: 311.5 kB / 320.4 MB, free: 39.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.004075, allocations: 0.7031 kB / 320.4 MB, free: 39.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.542e-05/0.00409, allocations: 14.42 kB / 320.4 MB, free: 39.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.004123, allocations: 21.84 kB / 320.4 MB, free: 39.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004126, allocations: 0 / 320.4 MB, free: 39.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.004257, allocations: 39.62 kB / 320.5 MB, free: 39.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.00428, allocations: 16.67 kB / 320.5 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.004289, allocations: 1.953 kB / 320.5 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.004314, allocations: 0 / 320.5 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.004385, allocations: 4.656 kB / 320.5 MB, free: 39.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.004394, allocations: 0 / 320.5 MB, free: 39.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.00441, allocations: 4.562 kB / 320.5 MB, free: 39.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.004418, allocations: 4.062 kB / 320.5 MB, free: 39.5 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 6.596e-05/0.004483, allocations: 185.7 kB / 320.7 MB, free: 39.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.004516, allocations: 105.7 kB / 320.8 MB, free: 39.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.004543, allocations: 121.3 kB / 320.9 MB, free: 39.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.004561, allocations: 176.8 kB / 321.1 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.004581, allocations: 180.9 kB / 321.3 MB, free: 38.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.004602, allocations: 180.9 kB / 321.4 MB, free: 38.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.362e-05/0.004676, allocations: 351.1 kB / 321.8 MB, free: 38.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.004685, allocations: 109.6 kB / 321.9 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-06/0.004694, allocations: 105.5 kB / 322 MB, free: 37.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.004708, allocations: 185 kB / 322.2 MB, free: 37.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.004726, allocations: 180.9 kB / 322.3 MB, free: 37.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.00474, allocations: 188.9 kB / 322.5 MB, free: 37.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/0.004755, allocations: 184.9 kB / 322.7 MB, free: 37.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.004911, allocations: 1.068 MB / 323.8 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.004928, allocations: 109.7 kB / 323.9 MB, free: 35.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.004951, allocations: 184.3 kB / 324.1 MB, free: 35.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.00498, allocations: 101 kB / 324.2 MB, free: 35.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.005, allocations: 184.2 kB / 324.3 MB, free: 35.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.00501, allocations: 105 kB / 324.5 MB, free: 35.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.446e-05/0.005025, allocations: 79.28 kB / 324.5 MB, free: 35.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005025, allocations: 0 / 324.5 MB, free: 35.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.005235, allocations: 7.938 kB / 324.5 MB, free: 35.26 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.409e-05/0.005309, allocations: 166.5 kB / 324.7 MB, free: 35.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.005402, allocations: 7.938 kB / 324.7 MB, free: 35.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005404, allocations: 0 / 324.7 MB, free: 35.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.005406, allocations: 4 kB / 324.7 MB, free: 35.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.00561, allocations: 457.9 kB / 325.2 MB, free: 34.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.00579, allocations: 155.9 kB / 325.3 MB, free: 34.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.837e-05/0.005819, allocations: 67.28 kB / 325.4 MB, free: 34.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.005839, allocations: 0 / 325.4 MB, free: 34.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.005856, allocations: 8.5 kB / 325.4 MB, free: 34.36 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005857, allocations: 0 / 325.4 MB, free: 34.36 MB / 282.7 MB Notification: Performance of Templates: time 0.001422/0.007279, allocations: 193.1 kB / 325.6 MB, free: 34.17 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=480 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] 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.9770659739151597]