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.001563/0.001563, allocations: 111.9 kB / 16.42 MB, free: 6.461 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.001825/0.001825, allocations: 188.2 kB / 17.35 MB, free: 5.711 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.552/1.552, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06702/0.06702, 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.002042/0.002042, allocations: 71.02 kB / 397.1 MB, free: 43.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.08422, allocations: 50.14 MB / 447.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001671/0.08593, allocations: 492.4 kB / 447.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003544/0.08631, allocations: 119.7 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.08635, allocations: 4 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.08639, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.08667, allocations: 19.92 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.08668, allocations: 0 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.93e-05/0.08672, allocations: 3.938 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.08678, allocations: 352 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.0868, allocations: 7.938 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.08692, allocations: 11.98 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-06/0.08693, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-06/0.08694, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.08695, allocations: 4 kB / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.03e-05/0.08697, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.921e-05/0.08701, allocations: 3.984 kB / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.08702, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.08702, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.08703, allocations: 0 / 447.9 MB, free: 13.04 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.0003106/0.08735, allocations: 319.5 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.08739, allocations: 8.031 kB / 448.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.08744, allocations: 0.9375 kB / 448.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.08758, allocations: 176.3 kB / 448.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.0876, allocations: 384 / 448.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.08761, allocations: 384 / 448.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.08773, allocations: 51.92 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.08774, allocations: 192 / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.08776, allocations: 3.938 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.08777, allocations: 4 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.08779, allocations: 4 kB / 448.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.08822, allocations: 463.7 kB / 448.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.08834, allocations: 173 kB / 449.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.08839, allocations: 88.14 kB / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.08844, allocations: 75.28 kB / 449.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.0885, allocations: 109.9 kB / 449.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.0885, allocations: 0 / 449.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.782e-05/0.08859, allocations: 33.58 kB / 449.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.08867, allocations: 126.7 kB / 449.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.08878, allocations: 101.8 kB / 449.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.0888, allocations: 25.7 kB / 449.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.08886, allocations: 88.09 kB / 449.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.08886, allocations: 0 / 449.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.0889, allocations: 17.67 kB / 449.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.08903, allocations: 310.8 kB / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.08905, allocations: 0 / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.08908, allocations: 25.83 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.08913, allocations: 13.72 kB / 450.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.08914, allocations: 7.875 kB / 450.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.08924, allocations: 37.7 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.08926, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.08927, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.08929, allocations: 4.125 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/0.08935, allocations: 7.984 kB / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.08936, allocations: 4 kB / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.08938, allocations: 0 / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.08939, allocations: 3.938 kB / 450.2 MB, free: 10.55 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 0.0001042/0.0895, allocations: 193 kB / 450.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.08957, allocations: 105 kB / 450.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.08963, allocations: 108 kB / 450.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.248e-05/0.08971, allocations: 188.2 kB / 450.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.543e-05/0.08979, allocations: 184.3 kB / 450.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-05/0.08987, allocations: 180.2 kB / 451.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.09012, allocations: 397.2 kB / 451.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-05/0.09018, allocations: 109 kB / 451.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.09024, allocations: 112.9 kB / 451.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.13e-05/0.09032, allocations: 176.3 kB / 451.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.09044, allocations: 180.2 kB / 452.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.678e-05/0.09052, allocations: 184.3 kB / 452.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.205e-05/0.0906, allocations: 184.2 kB / 452.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.09106, allocations: 1.071 MB / 453.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.09115, allocations: 182.1 kB / 453.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/0.09124, allocations: 188.2 kB / 453.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.09133, allocations: 105 kB / 453.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.09141, allocations: 188.2 kB / 454.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.09146, allocations: 105 kB / 454.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.664e-05/0.0915, allocations: 75.28 kB / 454.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09151, allocations: 0 / 454.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.09186, allocations: 4 kB / 454.3 MB, free: 6.129 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.0001121/0.09198, allocations: 170.6 kB / 454.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.697e-05/0.09204, allocations: 7.938 kB / 454.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.09205, allocations: 4 kB / 454.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.09206, allocations: 0 / 454.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.09245, allocations: 459.7 kB / 454.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.09265, allocations: 156.3 kB / 455.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.09295, allocations: 0.6729 MB / 455.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.488e-05/0.09297, allocations: 0 / 455.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.09299, allocations: 7.438 kB / 455.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09299, allocations: 0 / 455.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Templates: time 0.002009/0.09501, allocations: 173 kB / 455.9 MB, free: 4.43 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=50 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches