Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_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.001167/0.001167, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001257/0.001257, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0792/0.0792, allocations: 16.78 MB / 307.8 MB, free: 14.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 61.72 kB / 372.4 MB, free: 48.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1174, allocations: 53.57 MB / 426 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001553/0.1189, allocations: 491.4 kB / 426.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002739/0.1192, allocations: 111.7 kB / 426.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.1193, allocations: 0 / 426.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.1193, allocations: 0 / 426.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.1196, allocations: 27.91 kB / 426.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.1196, allocations: 0 / 426.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.107e-05/0.1196, allocations: 7.875 kB / 426.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1197, allocations: 8 kB / 426.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.1197, allocations: 0 / 426.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1198, allocations: 15.97 kB / 426.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-06/0.1198, allocations: 0 / 426.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-06/0.1198, allocations: 4 kB / 426.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-06/0.1198, allocations: 0 / 426.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.1e-05/0.1198, allocations: 0 / 426.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 2.91e-05/0.1199, allocations: 3.938 kB / 426.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1199, allocations: 0 / 426.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1199, allocations: 0 / 426.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1199, allocations: 0 / 426.6 MB, free: 12.08 MB / 302.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.0001849/0.1201, allocations: 310.2 kB / 426.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1201, allocations: 12.03 kB / 426.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.1201, allocations: 0.9375 kB / 426.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.866e-05/0.1202, allocations: 168.4 kB / 427.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.1202, allocations: 4.375 kB / 427.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1202, allocations: 384 / 427.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.725e-05/0.1203, allocations: 43.92 kB / 427.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1203, allocations: 192 / 427.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1203, allocations: 3.938 kB / 427.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1203, allocations: 0 / 427.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.1204, allocations: 4 kB / 427.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.1206, allocations: 471.6 kB / 427.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.1206, allocations: 169.1 kB / 427.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.1207, allocations: 84.2 kB / 427.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1207, allocations: 83.42 kB / 427.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1207, allocations: 105.8 kB / 428 MB, free: 10.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1207, allocations: 0 / 428 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.706e-05/0.1208, allocations: 37.62 kB / 428.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.1208, allocations: 126.7 kB / 428.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.1208, allocations: 97.86 kB / 428.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.1209, allocations: 29.77 kB / 428.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.1209, allocations: 89.17 kB / 428.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.1209, allocations: 0 / 428.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.1209, allocations: 17.72 kB / 428.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.121, allocations: 314.8 kB / 428.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.121, allocations: 8 kB / 428.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.121, allocations: 9.719 kB / 428.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.121, allocations: 21.72 kB / 428.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.121, allocations: 3.938 kB / 428.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.184e-05/0.1211, allocations: 37.7 kB / 428.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1211, allocations: 11.98 kB / 428.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1211, allocations: 3.938 kB / 428.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1212, allocations: 0 / 428.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.1212, allocations: 4 kB / 428.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1212, allocations: 3.938 kB / 428.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.301e-05/0.1212, allocations: 7.969 kB / 428.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1212, allocations: 0 / 428.9 MB, free: 9.594 MB / 302.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 4.545e-05/0.1213, allocations: 189.1 kB / 429 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.1213, allocations: 105 kB / 429.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1214, allocations: 112 kB / 429.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.1214, allocations: 180.3 kB / 429.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/0.1214, allocations: 180.3 kB / 429.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.1214, allocations: 180.2 kB / 429.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1216, allocations: 409.2 kB / 430.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.1216, allocations: 104.9 kB / 430.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.1216, allocations: 101 kB / 430.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.147e-05/0.1216, allocations: 180.3 kB / 430.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.1217, allocations: 184.2 kB / 430.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-05/0.1217, allocations: 180.2 kB / 430.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.359e-05/0.1217, allocations: 184.2 kB / 431.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.922e-05/0.1218, allocations: 303.8 kB / 431.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.1218, allocations: 190 kB / 431.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.1219, allocations: 184.3 kB / 431.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.1219, allocations: 104.9 kB / 431.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.122, allocations: 176.3 kB / 432 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.122, allocations: 101 kB / 432.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.763e-05/0.122, allocations: 83.28 kB / 432.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.122, allocations: 0 / 432.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1222, allocations: 3.938 kB / 432.2 MB, free: 6.008 MB / 302.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 6.104e-05/0.1223, allocations: 170.5 kB / 432.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.512e-05/0.1224, allocations: 8.344 kB / 432.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1224, allocations: 0 / 432.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.1224, allocations: 3.938 kB / 432.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1226, allocations: 464.1 kB / 432.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001449/0.1228, allocations: 178 kB / 433 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.191e-05/0.1229, allocations: 0.6729 MB / 433.7 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.1229, allocations: 11.44 kB / 433.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1229, allocations: 3.938 kB / 433.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of Templates: time 0.001375/0.1243, allocations: 343.9 kB / 434 MB, free: 4.102 MB / 302.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches