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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8572/0.8572, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04495/0.04495, allocations: 12.52 MB / 272.5 MB, free: 1.102 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 403.5 MB, free: 9.176 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.514e-05, allocations: 2.281 kB / 403.5 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00104/0.001065, allocations: 492.6 kB / 404 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002505/0.001315, allocations: 107.6 kB / 404.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.001338, allocations: 4 kB / 404.1 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.001352, allocations: 4 kB / 404.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.001578, allocations: 19.86 kB / 404.2 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.001581, allocations: 0 / 404.2 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.359e-05/0.001614, allocations: 4 kB / 404.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.001653, allocations: 7.922 kB / 404.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.001672, allocations: 3.938 kB / 404.2 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.001774, allocations: 19.98 kB / 404.2 MB, free: 8.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-06/0.001779, allocations: 3.938 kB / 404.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-06/0.001781, allocations: 0 / 404.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-06/0.001787, allocations: 0 / 404.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.447e-06/0.001797, allocations: 0 / 404.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 3.452e-05/0.001831, allocations: 0 / 404.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.001834, allocations: 4 kB / 404.2 MB, free: 8.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.001835, allocations: 0 / 404.2 MB, free: 8.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.001838, allocations: 0 / 404.2 MB, free: 8.52 MB / 330.7 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.0001852/0.002023, allocations: 234.5 kB / 404.4 MB, free: 8.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.002057, allocations: 16.02 kB / 404.4 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.002084, allocations: 0.9375 kB / 404.4 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.915e-05/0.002173, allocations: 105.8 kB / 404.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.002182, allocations: 384 / 404.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.00219, allocations: 4.375 kB / 404.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/0.002272, allocations: 39.98 kB / 404.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.002279, allocations: 192 / 404.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.002286, allocations: 384 / 404.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.002291, allocations: 384 / 404.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.002309, allocations: 11.88 kB / 404.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.002539, allocations: 423.3 kB / 405 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.002597, allocations: 173.1 kB / 405.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.00262, allocations: 80.14 kB / 405.3 MB, free: 7.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.00264, allocations: 75.28 kB / 405.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.403e-05/0.002734, allocations: 109.8 kB / 405.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.002734, allocations: 0 / 405.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.984e-05/0.002784, allocations: 29.64 kB / 405.5 MB, free: 7.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.002827, allocations: 130.7 kB / 405.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.002891, allocations: 97.86 kB / 405.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-06/0.002899, allocations: 25.7 kB / 405.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.002937, allocations: 92.16 kB / 405.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.00294, allocations: 4 kB / 405.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.002965, allocations: 9.719 kB / 405.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.003031, allocations: 310.8 kB / 406.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.003039, allocations: 4 kB / 406.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.003051, allocations: 21.7 kB / 406.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.003077, allocations: 9.719 kB / 406.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.00308, allocations: 4 kB / 406.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.861e-05/0.003168, allocations: 45.7 kB / 406.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.003181, allocations: 7.938 kB / 406.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.003185, allocations: 3.938 kB / 406.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.003196, allocations: 0 / 406.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.003246, allocations: 11.97 kB / 406.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.003251, allocations: 0 / 406.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.003264, allocations: 15.89 kB / 406.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.003268, allocations: 0 / 406.3 MB, free: 6.266 MB / 330.7 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 5.924e-05/0.003328, allocations: 185.7 kB / 406.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.003359, allocations: 108.9 kB / 406.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.00339, allocations: 116.2 kB / 406.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-05/0.003428, allocations: 188.2 kB / 406.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/0.003468, allocations: 180.3 kB / 407 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.744e-05/0.003506, allocations: 176.3 kB / 407.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.003748, allocations: 352.8 kB / 407.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/0.003771, allocations: 105 kB / 407.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.003794, allocations: 108.9 kB / 407.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/0.00383, allocations: 180.4 kB / 407.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.003868, allocations: 180.2 kB / 408.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-05/0.003906, allocations: 188.2 kB / 408.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.641e-05/0.003943, allocations: 184.3 kB / 408.5 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.203e-05/0.004035, allocations: 307.8 kB / 408.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.004062, allocations: 101 kB / 408.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.004109, allocations: 184.2 kB / 409 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.004152, allocations: 108.9 kB / 409.1 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.004198, allocations: 188.2 kB / 409.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.004219, allocations: 101 kB / 409.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.578e-05/0.004244, allocations: 79.28 kB / 409.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004244, allocations: 0 / 409.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001322/0.004377, allocations: 4 kB / 409.5 MB, free: 2.824 MB / 330.7 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 9.298e-05/0.00447, allocations: 171.2 kB / 409.7 MB, free: 2.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.004535, allocations: 7.922 kB / 409.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.004537, allocations: 4 kB / 409.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.004538, allocations: 0 / 409.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.00476, allocations: 451.7 kB / 410.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001777/0.004938, allocations: 181.9 kB / 410.3 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.004976, allocations: 55.36 kB / 410.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.004993, allocations: 8.5 kB / 410.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.004994, allocations: 0 / 410.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of Templates: time 0.001076/0.006069, allocations: 355.9 kB / 410.7 MB, free: 1.551 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.226041551679373]