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.001638/0.001638, allocations: 111.1 kB / 16.41 MB, free: 6.508 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.001559/0.001559, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06467/0.06467, 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.001431/0.001431, allocations: 71.36 kB / 397.1 MB, free: 43.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.08223, allocations: 50.13 MB / 447.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001499/0.08377, allocations: 492.8 kB / 447.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.08412, allocations: 123.7 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.08416, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.08418, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.08445, allocations: 19.86 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.08446, allocations: 0 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 2.959e-05/0.08449, allocations: 0 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.08453, allocations: 4.344 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.252e-05/0.08455, allocations: 0 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.08467, allocations: 23.92 kB / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-06/0.08468, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.406e-06/0.08469, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.0847, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.38e-05/0.08471, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.177e-05/0.08475, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.08476, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08476, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.08477, 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.0004262/0.0852, allocations: 319.5 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.08524, allocations: 12.03 kB / 448.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.08527, allocations: 0.9375 kB / 448.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.08536, allocations: 160.4 kB / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.08538, allocations: 4.375 kB / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.08539, allocations: 4.312 kB / 448.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.0855, allocations: 51.91 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.08551, allocations: 192 / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.08553, allocations: 7.938 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.08554, allocations: 0 / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.08556, allocations: 4 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.08589, allocations: 467.6 kB / 448.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.532e-05/0.08598, allocations: 173.1 kB / 449.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.08602, allocations: 80.14 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.08605, allocations: 75.28 kB / 449.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.08611, allocations: 113.8 kB / 449.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.08611, allocations: 0 / 449.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.901e-05/0.08619, allocations: 29.64 kB / 449.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.08625, allocations: 126.7 kB / 449.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.08634, allocations: 105.8 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.08636, allocations: 25.7 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.0864, allocations: 88.08 kB / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.08641, allocations: 0 / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.08645, allocations: 17.67 kB / 449.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.08656, allocations: 314.8 kB / 450.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.08657, allocations: 0 / 450.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.0866, allocations: 21.83 kB / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.08664, allocations: 17.66 kB / 450.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.08665, allocations: 3.938 kB / 450.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.224e-05/0.08674, allocations: 41.69 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.08676, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.08677, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.08679, allocations: 4.125 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.08685, allocations: 7.938 kB / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.08686, allocations: 0 / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.08688, allocations: 3.984 kB / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.08689, allocations: 0 / 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 8.894e-05/0.08698, allocations: 193 kB / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.08705, allocations: 105 kB / 450.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.08709, allocations: 112 kB / 450.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.159e-05/0.08716, allocations: 180.3 kB / 450.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.372e-05/0.08724, allocations: 184.2 kB / 450.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/0.0873, allocations: 180.2 kB / 451.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.08751, allocations: 405.2 kB / 451.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/0.08756, allocations: 108.9 kB / 451.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.0876, allocations: 105 kB / 451.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/0.08766, allocations: 176.3 kB / 451.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/0.08774, allocations: 180.2 kB / 452 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.5e-05/0.08781, allocations: 188.3 kB / 452.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.547e-05/0.08787, allocations: 184.2 kB / 452.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.08835, allocations: 1.071 MB / 453.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.08844, allocations: 182 kB / 453.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.08854, allocations: 188.2 kB / 453.8 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.08861, allocations: 109 kB / 453.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.08869, allocations: 180.2 kB / 454.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.08873, allocations: 105 kB / 454.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.08878, allocations: 79.28 kB / 454.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08879, allocations: 3.938 kB / 454.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.08911, allocations: 0 / 454.3 MB, free: 6.133 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.0001202/0.08924, allocations: 170.6 kB / 454.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.449e-05/0.08931, allocations: 11.94 kB / 454.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.08932, allocations: 0 / 454.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.08932, allocations: 0 / 454.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.0897, allocations: 451.7 kB / 454.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.08994, allocations: 168.3 kB / 455.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.09023, allocations: 0.669 MB / 455.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.23e-05/0.09025, allocations: 0 / 455.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.09028, allocations: 7.438 kB / 455.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09029, allocations: 0 / 455.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of Templates: time 0.00203/0.09232, allocations: 173 kB / 455.9 MB, free: 4.434 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