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.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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_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.00136/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001449/0.00145, allocations: 192.7 kB / 16.13 MB, free: 6.711 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.638/1.638, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0689/0.0689, allocations: 14.16 MB / 283.5 MB, free: 7.312 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.00159/0.00159, allocations: 75.17 kB / 344.4 MB, free: 19.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 50.14 MB / 394.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001823/0.1052, allocations: 0.5441 MB / 395.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.1055, allocations: 122 kB / 395.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.164e-05/0.1056, allocations: 0 / 395.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1056, allocations: 0 / 395.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1059, allocations: 27.91 kB / 395.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.545e-06/0.1059, allocations: 0 / 395.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.467e-05/0.1059, allocations: 0 / 395.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.106, allocations: 0 / 395.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.106, allocations: 4 kB / 395.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1061, allocations: 4 kB / 395.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-06/0.1061, allocations: 0 / 395.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.1061, allocations: 0 / 395.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.1062, allocations: 7.984 kB / 395.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.1062, allocations: 7.938 kB / 395.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.039e-05/0.1062, allocations: 0 / 395.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1062, allocations: 3.984 kB / 395.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1062, allocations: 0 / 395.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1062, allocations: 0 / 395.2 MB, free: 0.9609 MB / 286.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.0002636/0.1065, allocations: 315.6 kB / 395.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1065, allocations: 8.031 kB / 395.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1066, allocations: 0.9375 kB / 395.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.1067, allocations: 164.3 kB / 395.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1067, allocations: 8.375 kB / 395.7 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1067, allocations: 384 / 395.7 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/0.1068, allocations: 47.91 kB / 395.8 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1068, allocations: 192 / 395.8 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1069, allocations: 3.938 kB / 395.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1069, allocations: 0 / 395.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.1069, allocations: 11.94 kB / 395.8 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.1072, allocations: 463.7 kB / 396.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.1073, allocations: 169.1 kB / 396.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.1074, allocations: 84.12 kB / 396.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1074, allocations: 75.28 kB / 396.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.1074, allocations: 113.8 kB / 396.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1075, allocations: 0 / 396.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.502e-05/0.1075, allocations: 33.7 kB / 396.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1076, allocations: 130.6 kB / 396.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1077, allocations: 101.8 kB / 396.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1077, allocations: 25.7 kB / 396.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.1077, allocations: 88.48 kB / 397 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.1078, allocations: 0 / 397 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.1078, allocations: 21.62 kB / 397.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1079, allocations: 310.8 kB / 397.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-06/0.1079, allocations: 0 / 397.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.1079, allocations: 17.7 kB / 397.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.108, allocations: 25.72 kB / 397.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.108, allocations: 3.938 kB / 397.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.1081, allocations: 37.64 kB / 397.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1081, allocations: 4 kB / 397.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1081, allocations: 4 kB / 397.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1082, allocations: 0 / 397.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.1082, allocations: 4 kB / 397.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1082, allocations: 3.984 kB / 397.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.1082, allocations: 4 kB / 397.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1083, allocations: 4.062 kB / 397.5 MB, free: 14.47 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 0.0001009/0.1084, allocations: 194.1 kB / 397.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.1084, allocations: 105 kB / 397.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.1085, allocations: 108 kB / 397.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.347e-05/0.1085, allocations: 176.3 kB / 398 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.959e-05/0.1086, allocations: 188.2 kB / 398.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.162e-05/0.1087, allocations: 180.3 kB / 398.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1089, allocations: 401.2 kB / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/0.1089, allocations: 108.9 kB / 398.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.109, allocations: 105 kB / 399 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.98e-05/0.109, allocations: 180.2 kB / 399.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.1091, allocations: 184.3 kB / 399.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.209e-05/0.1092, allocations: 184.2 kB / 399.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.747e-05/0.1093, allocations: 184.2 kB / 399.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1094, allocations: 311.9 kB / 400 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.1095, allocations: 186.1 kB / 400.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.1096, allocations: 180.2 kB / 400.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1096, allocations: 104.9 kB / 400.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.1097, allocations: 184.2 kB / 400.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.1097, allocations: 104.9 kB / 400.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.1098, allocations: 75.28 kB / 400.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1098, allocations: 4.094 kB / 400.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.11, allocations: 8 kB / 400.8 MB, free: 10.87 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 0.0001014/0.1101, allocations: 166.5 kB / 401 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.609e-05/0.1102, allocations: 7.984 kB / 401 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1102, allocations: 0 / 401 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-06/0.1102, allocations: 0 / 401 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1106, allocations: 0.5302 MB / 401.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002035/0.1108, allocations: 150 kB / 401.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.111, allocations: 0.6731 MB / 402.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.111, allocations: 3.984 kB / 402.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.1111, allocations: 7.438 kB / 402.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1111, allocations: 0 / 402.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of Templates: time 0.001881/0.113, allocations: 169.1 kB / 402.5 MB, free: 9.102 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (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 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches