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.001742/0.001742, allocations: 107.2 kB / 16.42 MB, free: 6.492 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.001833/0.001833, allocations: 185.5 kB / 17.35 MB, free: 5.746 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.516/1.516, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06783/0.06783, allocations: 14.17 MB / 284.8 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.002076/0.002076, allocations: 72.14 kB / 397.1 MB, free: 43.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07884/0.08092, allocations: 50.14 MB / 447.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001506/0.08247, allocations: 484.8 kB / 447.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.08281, allocations: 115.7 kB / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.08284, allocations: 4 kB / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.08287, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.0831, allocations: 23.86 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.584e-06/0.08311, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 2.652e-05/0.08315, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.08319, allocations: 352 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.08321, allocations: 7.938 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.0833, allocations: 15.97 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-06/0.08331, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.515e-06/0.08332, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-06/0.08333, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.08335, allocations: 4 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 2.751e-05/0.08338, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.08339, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0834, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.0834, allocations: 0 / 447.9 MB, free: 13.06 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.0003014/0.08371, allocations: 319.5 kB / 448.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.08375, allocations: 8.031 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.856e-05/0.08377, allocations: 0.9375 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.0839, allocations: 168.4 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.08392, allocations: 4.312 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.08393, allocations: 384 / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.08404, allocations: 51.92 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.08406, allocations: 192 / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.08407, allocations: 3.938 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.08408, allocations: 4 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.08411, allocations: 8 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.08447, allocations: 463.6 kB / 448.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.08458, allocations: 173.1 kB / 449.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.08463, allocations: 84.14 kB / 449.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.08467, allocations: 75.28 kB / 449.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.08473, allocations: 109.8 kB / 449.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.08474, allocations: 4.031 kB / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.491e-05/0.08481, allocations: 33.62 kB / 449.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.08489, allocations: 126.7 kB / 449.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.08498, allocations: 101.9 kB / 449.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.085, allocations: 25.7 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.08507, allocations: 88.08 kB / 449.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.08508, allocations: 0 / 449.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.08512, allocations: 17.67 kB / 449.7 MB, free: 11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.08527, allocations: 314.8 kB / 450.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.08528, allocations: 0 / 450.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.08531, allocations: 21.84 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.08534, allocations: 17.66 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.08535, allocations: 3.938 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.671e-05/0.08544, allocations: 37.7 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.08546, allocations: 7.984 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.08547, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.08549, allocations: 4.125 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.08555, allocations: 11.92 kB / 450.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.08557, allocations: 4 kB / 450.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.08558, allocations: 0 / 450.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.08559, allocations: 0 / 450.2 MB, free: 10.56 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.0001018/0.0857, allocations: 189 kB / 450.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.08578, allocations: 105 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.08584, allocations: 112 kB / 450.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.897e-05/0.08593, allocations: 188.2 kB / 450.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-05/0.08602, allocations: 180.3 kB / 450.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.353e-05/0.08611, allocations: 180.2 kB / 451.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.08636, allocations: 401.2 kB / 451.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-05/0.08642, allocations: 104.9 kB / 451.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.08647, allocations: 113 kB / 451.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.014e-05/0.08656, allocations: 176.3 kB / 451.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.08664, allocations: 180.2 kB / 452 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.411e-05/0.08673, allocations: 184.3 kB / 452.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.435e-05/0.08681, allocations: 184.2 kB / 452.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.08736, allocations: 1.071 MB / 453.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.08746, allocations: 182 kB / 453.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.998e-05/0.08756, allocations: 188.2 kB / 453.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.08765, allocations: 105 kB / 453.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.08774, allocations: 184.2 kB / 454.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.08779, allocations: 109 kB / 454.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.08784, allocations: 75.28 kB / 454.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08785, allocations: 3.938 kB / 454.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.08822, allocations: 4 kB / 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.0001258/0.08835, allocations: 166.6 kB / 454.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.08842, allocations: 11.92 kB / 454.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.08843, allocations: 0 / 454.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.08844, allocations: 4 kB / 454.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.08882, allocations: 456.6 kB / 454.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.08902, allocations: 156.3 kB / 455.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.08934, allocations: 0.6729 MB / 455.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.08936, allocations: 3.984 kB / 455.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.08938, allocations: 7.438 kB / 455.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08939, allocations: 0 / 455.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of Templates: time 0.002031/0.09142, allocations: 177 kB / 455.9 MB, free: 4.441 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