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.001529/0.001529, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001985/0.001985, allocations: 214.6 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.09054/0.09054, allocations: 16.95 MB / 330.2 MB, free: 2.375 MB / 254.1 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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.89 kB / 461.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.119, allocations: 57.75 MB / 0.5068 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001963/0.121, allocations: 486 kB / 0.5072 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003975/0.1214, allocations: 113.7 kB / 0.5073 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.1214, allocations: 0 / 0.5073 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.1214, allocations: 7.938 kB / 0.5073 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1217, allocations: 27.91 kB / 0.5074 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.549e-06/0.1217, allocations: 0 / 0.5074 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.1218, allocations: 4 kB / 0.5074 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.1218, allocations: 0 / 0.5074 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.1219, allocations: 3.938 kB / 0.5074 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.122, allocations: 8 kB / 0.5074 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.122, allocations: 0 / 0.5074 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-06/0.122, allocations: 0 / 0.5074 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.122, allocations: 3.984 kB / 0.5074 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.122, allocations: 4 kB / 0.5074 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.066e-05/0.1221, allocations: 0 / 0.5074 GB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1221, allocations: 11.98 kB / 0.5074 GB, free: 7.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1221, allocations: 0 / 0.5074 GB, free: 7.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1221, allocations: 0 / 0.5074 GB, free: 7.309 MB / 382.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.0002938/0.1224, allocations: 234.4 kB / 0.5076 GB, free: 7.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1224, allocations: 8.031 kB / 0.5076 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1224, allocations: 0.9375 kB / 0.5076 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1225, allocations: 106.5 kB / 0.5077 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1226, allocations: 384 / 0.5077 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1226, allocations: 8.25 kB / 0.5078 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1227, allocations: 51.97 kB / 0.5078 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1227, allocations: 192 / 0.5078 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1227, allocations: 3.938 kB / 0.5078 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1227, allocations: 0 / 0.5078 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.1227, allocations: 4 kB / 0.5078 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1232, allocations: 415.2 kB / 0.5082 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1233, allocations: 173.2 kB / 0.5084 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.1233, allocations: 84.08 kB / 0.5085 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.1233, allocations: 75.28 kB / 0.5085 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/0.1234, allocations: 109.8 kB / 0.5086 GB, free: 5.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.1234, allocations: 4 kB / 0.5086 GB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.352e-05/0.1235, allocations: 33.58 kB / 0.5087 GB, free: 5.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.1236, allocations: 126.7 kB / 0.5088 GB, free: 5.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.1237, allocations: 97.86 kB / 0.5089 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1237, allocations: 29.69 kB / 0.5089 GB, free: 5.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1237, allocations: 84.09 kB / 0.509 GB, free: 5.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.1237, allocations: 0 / 0.509 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.1238, allocations: 13.72 kB / 0.509 GB, free: 5.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1239, allocations: 314.8 kB / 0.5093 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.1239, allocations: 4 kB / 0.5093 GB, free: 5.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.1239, allocations: 13.84 kB / 0.5093 GB, free: 5.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.124, allocations: 17.66 kB / 0.5093 GB, free: 5.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.124, allocations: 0 / 0.5093 GB, free: 5.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001115/0.1241, allocations: 53.56 kB / 0.5094 GB, free: 5.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1241, allocations: 4 kB / 0.5094 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1241, allocations: 0 / 0.5094 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1241, allocations: 0 / 0.5094 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.1242, allocations: 4.125 kB / 0.5094 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1242, allocations: 4 kB / 0.5094 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.1242, allocations: 7.953 kB / 0.5094 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1242, allocations: 0 / 0.5094 GB, free: 5.066 MB / 382.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.0001124/0.1243, allocations: 185.6 kB / 0.5096 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.1244, allocations: 108.9 kB / 0.5097 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.1244, allocations: 116.1 kB / 0.5098 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.939e-05/0.1245, allocations: 176.3 kB / 0.51 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.671e-05/0.1246, allocations: 188.1 kB / 0.5101 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.418e-05/0.1247, allocations: 180.2 kB / 0.5103 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.1249, allocations: 352.9 kB / 0.5107 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.487e-05/0.125, allocations: 112.9 kB / 0.5108 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.1251, allocations: 104.9 kB / 0.5109 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.1252, allocations: 188.2 kB / 0.511 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/0.1253, allocations: 176.3 kB / 0.5112 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.429e-05/0.1253, allocations: 176.3 kB / 0.5114 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.104e-05/0.1254, allocations: 184.4 kB / 0.5115 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1256, allocations: 311.8 kB / 0.5118 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.1256, allocations: 104.9 kB / 0.5119 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.1257, allocations: 180.3 kB / 0.5121 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.1258, allocations: 108.9 kB / 0.5122 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.1259, allocations: 184.3 kB / 0.5124 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.1259, allocations: 112.9 kB / 0.5125 GB, free: 1.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.126, allocations: 75.28 kB / 0.5126 GB, free: 1.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.126, allocations: 0 / 0.5126 GB, free: 1.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1262, allocations: 4 kB / 0.5126 GB, free: 1.621 MB / 382.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.0001349/0.1264, allocations: 174.4 kB / 0.5127 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.1264, allocations: 4 kB / 0.5128 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1265, allocations: 4 kB / 0.5128 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.1265, allocations: 224 / 0.5128 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.1269, allocations: 463.6 kB / 0.5132 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.1272, allocations: 160.1 kB / 0.5134 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.429e-05/0.1272, allocations: 55.36 kB / 0.5134 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.853e-05/0.1272, allocations: 0 / 0.5134 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.1273, allocations: 7.438 kB / 0.5134 GB, free: 0.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1273, allocations: 0 / 0.5134 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Templates: time 0.002217/0.1295, allocations: 193.1 kB / 0.5136 GB, free: 0.5195 MB / 382.1 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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112790153012611]