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.008153/0.008153, allocations: 103.2 kB / 15.74 MB, free: 6.066 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.00184/0.00184, allocations: 197.2 kB / 16.68 MB, free: 5.973 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0815/0.0815, allocations: 16.68 MB / 307.2 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.001891, allocations: 67.88 kB / 426.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 53.56 MB / 480 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001637/0.1057, allocations: 465.1 kB / 480.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.1061, allocations: 123.6 kB / 480.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.1061, allocations: 7.938 kB / 480.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.1061, allocations: 0 / 480.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.1064, allocations: 23.88 kB / 480.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.1064, allocations: 0 / 480.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.488e-05/0.1065, allocations: 0 / 480.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.1065, allocations: 4.328 kB / 480.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.1065, allocations: 4 kB / 480.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1067, allocations: 11.98 kB / 480.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-06/0.1067, allocations: 0 / 480.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.1067, allocations: 0 / 480.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-06/0.1067, allocations: 4 kB / 480.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.242e-05/0.1067, allocations: 0 / 480.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.67e-05/0.1068, allocations: 3.938 kB / 480.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1068, allocations: 0 / 480.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1068, allocations: 0 / 480.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1068, allocations: 3.938 kB / 480.6 MB, free: 4.477 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.0003306/0.1071, allocations: 323.5 kB / 481 MB, free: 4.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1071, allocations: 8.031 kB / 481 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.1072, allocations: 0.9375 kB / 481 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1073, allocations: 168.4 kB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1073, allocations: 384 / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.1073, allocations: 384 / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1074, allocations: 59.89 kB / 481.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1075, allocations: 192 / 481.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1075, allocations: 3.938 kB / 481.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1075, allocations: 4 kB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.1075, allocations: 4 kB / 481.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.1079, allocations: 467.6 kB / 481.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.834e-05/0.108, allocations: 169.1 kB / 481.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.1081, allocations: 84.14 kB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.1081, allocations: 79.28 kB / 482 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/0.1082, allocations: 109.9 kB / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1082, allocations: 0 / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.1083, allocations: 29.64 kB / 482.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.1084, allocations: 126.7 kB / 482.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.1085, allocations: 101.8 kB / 482.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1085, allocations: 25.7 kB / 482.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.1085, allocations: 88.09 kB / 482.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.1086, allocations: 0 / 482.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.1086, allocations: 13.72 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1087, allocations: 310.8 kB / 482.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.1088, allocations: 0 / 482.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.1088, allocations: 25.78 kB / 482.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.1088, allocations: 17.66 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1088, allocations: 3.938 kB / 482.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.671e-05/0.1089, allocations: 37.69 kB / 482.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.109, allocations: 4 kB / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.109, allocations: 0 / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.109, allocations: 4.125 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.109, allocations: 7.938 kB / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1091, allocations: 4 kB / 482.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.1091, allocations: 4 kB / 482.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1091, allocations: 0 / 482.9 MB, free: 1.988 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.0001237/0.1092, allocations: 193 kB / 483.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.1093, allocations: 101 kB / 483.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.1094, allocations: 108 kB / 483.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.786e-05/0.1095, allocations: 180.3 kB / 483.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.031e-05/0.1096, allocations: 188.2 kB / 483.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.499e-05/0.1097, allocations: 184.2 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.11, allocations: 397.2 kB / 484.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-05/0.11, allocations: 108.9 kB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.1101, allocations: 105 kB / 484.4 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.1102, allocations: 184.2 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.1103, allocations: 180.2 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.407e-05/0.1104, allocations: 184.3 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-05/0.1105, allocations: 180.2 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1107, allocations: 315.7 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1109, allocations: 186 kB / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.111, allocations: 176.5 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1111, allocations: 108.9 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.1112, allocations: 184.3 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.1113, allocations: 105 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.118e-05/0.1113, allocations: 83.22 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1113, allocations: 4 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1116, allocations: 0 / 486.2 MB, free: 14.38 MB / 366.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.0001339/0.1117, allocations: 166.5 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.1118, allocations: 4 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.1118, allocations: 224 / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1118, allocations: 7.938 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1122, allocations: 463.6 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.1124, allocations: 152.2 kB / 487 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1127, allocations: 0.669 MB / 487.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.577e-05/0.1128, allocations: 0 / 487.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.1128, allocations: 11.44 kB / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1128, allocations: 0 / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.002065/0.1149, allocations: 177 kB / 487.9 MB, free: 12.68 MB / 366.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=50 -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