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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 115.6 kB / 16.42 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 185.5 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06274/0.06274, allocations: 14.16 MB / 284.7 MB, free: 13.85 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.17 kB / 397.1 MB, free: 43.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.093, allocations: 50.13 MB / 447.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001413/0.09446, allocations: 0.4924 MB / 447.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.0948, allocations: 115.7 kB / 447.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.09483, allocations: 0 / 447.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.09487, allocations: 0 / 447.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.09519, allocations: 15.94 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.0952, allocations: 0 / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.338e-05/0.09524, allocations: 3.938 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.0953, allocations: 8.328 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.09532, allocations: 7.922 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.09545, allocations: 12 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-06/0.09546, allocations: 4 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-06/0.09547, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.09548, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.09551, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.048e-05/0.09555, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09556, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.09557, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.09558, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 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.0003275/0.09591, allocations: 315.6 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.09595, allocations: 8.031 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.09598, allocations: 4.938 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.09608, allocations: 168.3 kB / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.0961, allocations: 384 / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.09612, allocations: 4.375 kB / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.09623, allocations: 47.92 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.09624, allocations: 192 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.09626, allocations: 7.938 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.09627, allocations: 0 / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.0963, allocations: 7.984 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.09668, allocations: 463.6 kB / 448.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.09679, allocations: 177 kB / 449.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.09684, allocations: 84.14 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.09688, allocations: 75.28 kB / 449.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.09693, allocations: 109.9 kB / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.09694, allocations: 0 / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.308e-05/0.09702, allocations: 29.64 kB / 449.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.0971, allocations: 126.7 kB / 449.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.09718, allocations: 105.8 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.0972, allocations: 25.7 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.09725, allocations: 88.03 kB / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.09726, allocations: 0 / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.09729, allocations: 13.72 kB / 449.7 MB, free: 11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.09742, allocations: 314.8 kB / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.09744, allocations: 0 / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.09746, allocations: 17.84 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.09749, allocations: 13.72 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.0975, allocations: 7.875 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001022/0.09761, allocations: 41.69 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.09762, allocations: 4 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.09763, allocations: 4 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.09766, allocations: 4.125 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.09772, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.09773, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.09775, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.09776, allocations: 3.938 kB / 450.1 MB, free: 10.57 MB / 334.1 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 8.817e-05/0.09785, allocations: 193 kB / 450.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.09792, allocations: 105 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.09798, allocations: 112 kB / 450.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/0.09806, allocations: 184.2 kB / 450.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.616e-05/0.09814, allocations: 184.2 kB / 450.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-05/0.09822, allocations: 180.2 kB / 451.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.09847, allocations: 405.2 kB / 451.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/0.09852, allocations: 105 kB / 451.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.09857, allocations: 108.9 kB / 451.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.775e-05/0.09864, allocations: 180.2 kB / 451.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.09871, allocations: 184.2 kB / 452 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.935e-05/0.09879, allocations: 184.3 kB / 452.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.862e-05/0.09887, allocations: 180.2 kB / 452.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.09934, allocations: 1.075 MB / 453.5 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.09943, allocations: 182.1 kB / 453.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.09951, allocations: 188.2 kB / 453.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.09959, allocations: 113 kB / 453.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.09969, allocations: 180.2 kB / 454.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.09974, allocations: 101 kB / 454.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.09978, allocations: 79.28 kB / 454.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09979, allocations: 0 / 454.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.1001, allocations: 0 / 454.3 MB, free: 6.145 MB / 334.1 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.0001109/0.1002, allocations: 174.6 kB / 454.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.1003, allocations: 11.94 kB / 454.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1003, allocations: 3.938 kB / 454.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.1003, allocations: 0 / 454.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1007, allocations: 451.7 kB / 454.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001956/0.1009, allocations: 160.3 kB / 455.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1012, allocations: 0.6729 MB / 455.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2e-05/0.1012, allocations: 0 / 455.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1012, allocations: 7.438 kB / 455.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1012, allocations: 0 / 455.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Templates: time 0.001649/0.1029, allocations: 177 kB / 455.9 MB, free: 4.438 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (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 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) 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) Reference file matches