Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001956/0.001956, allocations: 85.45 kB / 19.76 MB, free: 1.871 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.002371/0.002371, allocations: 162.8 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 158.6 MB / 184.8 MB, free: 6.195 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06335/0.06335, allocations: 10.65 MB / 247.7 MB, free: 8.469 MB / 238.1 MB " [Timeout remaining time 180] 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.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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.89 kB / 369 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1143, allocations: 52.89 MB / 421.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00182/0.1162, allocations: 488.5 kB / 422.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.1166, allocations: 115.6 kB / 422.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.1166, allocations: 3.938 kB / 422.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.1167, allocations: 4 kB / 422.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.117, allocations: 23.86 kB / 422.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.649e-06/0.117, allocations: 0 / 422.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.117, allocations: 4 kB / 422.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.1171, allocations: 3.984 kB / 422.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.1171, allocations: 0 / 422.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1173, allocations: 8 kB / 422.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1173, allocations: 7.984 kB / 422.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-06/0.1173, allocations: 0 / 422.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-06/0.1173, allocations: 0 / 422.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.1173, allocations: 3.938 kB / 422.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.563e-05/0.1174, allocations: 0 / 422.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1174, allocations: 0 / 422.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1174, allocations: 0 / 422.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1174, allocations: 4 kB / 422.5 MB, free: 7.094 MB / 350.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.0003464/0.1177, allocations: 242.4 kB / 422.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1178, allocations: 8.031 kB / 422.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.1178, allocations: 0.9375 kB / 422.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1179, allocations: 106.5 kB / 422.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1179, allocations: 4.375 kB / 422.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1179, allocations: 384 / 422.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1181, allocations: 47.92 kB / 422.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1181, allocations: 192 / 422.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1181, allocations: 3.938 kB / 422.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1181, allocations: 0 / 422.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.1181, allocations: 7.984 kB / 422.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1186, allocations: 411.2 kB / 423.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1187, allocations: 173.2 kB / 423.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.1187, allocations: 88.08 kB / 423.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.1188, allocations: 75.28 kB / 423.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/0.1189, allocations: 113.8 kB / 423.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1189, allocations: 0 / 423.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.155e-05/0.1189, allocations: 29.64 kB / 423.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.119, allocations: 126.7 kB / 423.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1191, allocations: 105.8 kB / 424 MB, free: 5.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1191, allocations: 25.7 kB / 424.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1192, allocations: 84.09 kB / 424.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.1192, allocations: 128 / 424.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.1192, allocations: 21.7 kB / 424.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1194, allocations: 310.8 kB / 424.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.1194, allocations: 4 kB / 424.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.1194, allocations: 17.66 kB / 424.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.1195, allocations: 17.66 kB / 424.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1195, allocations: 0 / 424.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.1196, allocations: 45.62 kB / 424.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1196, allocations: 12.12 kB / 424.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1196, allocations: 0 / 424.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1196, allocations: 3.938 kB / 424.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.1197, allocations: 4 kB / 424.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1197, allocations: 0 / 424.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.1197, allocations: 0 / 424.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1197, allocations: 4 kB / 424.6 MB, free: 4.844 MB / 350.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.000126/0.1198, allocations: 181.1 kB / 424.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.1199, allocations: 108.9 kB / 424.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.12, allocations: 112.1 kB / 425 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.659e-05/0.1201, allocations: 180.3 kB / 425.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-05/0.1202, allocations: 188.3 kB / 425.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.593e-05/0.1203, allocations: 180.2 kB / 425.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.1205, allocations: 352.9 kB / 425.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.305e-05/0.1205, allocations: 104.9 kB / 426 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.1206, allocations: 108.9 kB / 426.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.473e-05/0.1207, allocations: 180.3 kB / 426.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.1208, allocations: 180.2 kB / 426.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.86e-05/0.1209, allocations: 184.2 kB / 426.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.19e-05/0.1209, allocations: 184.2 kB / 426.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1211, allocations: 304 kB / 427.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-05/0.1212, allocations: 116.9 kB / 427.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.1213, allocations: 184.2 kB / 427.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.1214, allocations: 104.9 kB / 427.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.1214, allocations: 180.3 kB / 427.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.1215, allocations: 112.9 kB / 427.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.33e-05/0.1215, allocations: 79.28 kB / 427.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1215, allocations: 0 / 427.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1218, allocations: 4 kB / 427.8 MB, free: 1.398 MB / 350.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.0001342/0.1219, allocations: 166.5 kB / 428 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.106e-05/0.122, allocations: 8.094 kB / 428 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.122, allocations: 0 / 428 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.122, allocations: 0 / 428 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1224, allocations: 463.6 kB / 428.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.1227, allocations: 160.1 kB / 428.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.1227, allocations: 55.34 kB / 428.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.811e-05/0.1227, allocations: 3.938 kB / 428.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.1228, allocations: 12.5 kB / 428.7 MB, free: 496 kB / 350.1 MB Notification: Performance of SimCode: time 5.1e-07/0.1228, allocations: 0 / 428.7 MB, free: 496 kB / 350.1 MB Notification: Performance of Templates: time 0.002374/0.1251, allocations: 173.4 kB / 428.9 MB, free: 324 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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.807631134055555]