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.001416/0.001416, allocations: 103 kB / 16.4 MB, free: 6.461 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.001757/0.001757, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 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.07527/0.07527, allocations: 16.78 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.88 kB / 427.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1033, allocations: 53.56 MB / 480.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001542/0.1049, allocations: 477.1 kB / 481.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003658/0.1053, allocations: 131.5 kB / 481.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.1053, allocations: 0 / 481.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.1053, allocations: 0 / 481.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.1056, allocations: 15.94 kB / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.497e-06/0.1056, allocations: 0 / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.1056, allocations: 7.984 kB / 481.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.1057, allocations: 4.328 kB / 481.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.012e-05/0.1057, allocations: 0 / 481.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1058, allocations: 12 kB / 481.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-06/0.1058, allocations: 0 / 481.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-06/0.1058, allocations: 0 / 481.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-06/0.1059, allocations: 0 / 481.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.1059, allocations: 7.922 kB / 481.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.742e-05/0.1059, allocations: 4 kB / 481.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1059, allocations: 3.938 kB / 481.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1059, allocations: 4 kB / 481.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1059, allocations: 0 / 481.4 MB, free: 4.332 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.0002693/0.1062, allocations: 311.6 kB / 481.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1063, allocations: 12.03 kB / 481.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1063, allocations: 4.938 kB / 481.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.1064, allocations: 160.4 kB / 481.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1064, allocations: 384 / 481.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.1064, allocations: 8.312 kB / 481.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.1065, allocations: 39.98 kB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1065, allocations: 4.188 kB / 482 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1065, allocations: 7.938 kB / 482 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1066, allocations: 3.984 kB / 482 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.1066, allocations: 3.938 kB / 482 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1069, allocations: 459.7 kB / 482.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.107, allocations: 181.1 kB / 482.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.1071, allocations: 84.08 kB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1071, allocations: 75.28 kB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.1072, allocations: 105.8 kB / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1072, allocations: 0 / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.439e-05/0.1072, allocations: 25.7 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.1073, allocations: 138.7 kB / 483 MB, free: 2.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.1074, allocations: 89.86 kB / 483.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1074, allocations: 25.7 kB / 483.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.1074, allocations: 95.97 kB / 483.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.1075, allocations: 0 / 483.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.1075, allocations: 13.72 kB / 483.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1076, allocations: 314.8 kB / 483.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.1076, allocations: 8 kB / 483.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.1076, allocations: 13.72 kB / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.1077, allocations: 17.72 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1077, allocations: 3.938 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.562e-05/0.1078, allocations: 41.62 kB / 483.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1078, allocations: 8 kB / 483.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1078, allocations: 4.125 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1078, allocations: 0 / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.1079, allocations: 4 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1079, allocations: 0 / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.1079, allocations: 0 / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1079, allocations: 4 kB / 483.7 MB, free: 1.859 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 9.333e-05/0.108, allocations: 189.1 kB / 483.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.1081, allocations: 108.9 kB / 483.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.1081, allocations: 116.1 kB / 484.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.847e-05/0.1082, allocations: 176.3 kB / 484.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/0.1083, allocations: 180.2 kB / 484.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-05/0.1084, allocations: 176.3 kB / 484.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1086, allocations: 413.1 kB / 485 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.1086, allocations: 105 kB / 485.1 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.1087, allocations: 108.9 kB / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-05/0.1087, allocations: 184.2 kB / 485.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/0.1088, allocations: 180.2 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.423e-05/0.1089, allocations: 188.2 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-05/0.109, allocations: 176.3 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.1091, allocations: 315.6 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.1092, allocations: 186.1 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.1093, allocations: 180.5 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.1094, allocations: 101 kB / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.1094, allocations: 188.2 kB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.1095, allocations: 109 kB / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.1095, allocations: 75.28 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1095, allocations: 0 / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1097, allocations: 0 / 487 MB, free: 14.25 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.0001059/0.1098, allocations: 170.5 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.1099, allocations: 8.094 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1099, allocations: 8 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.1099, allocations: 0 / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1103, allocations: 463.6 kB / 487.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.1105, allocations: 181.9 kB / 487.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1108, allocations: 0.669 MB / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.1108, allocations: 15.44 kB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1108, allocations: 0 / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.00163/0.1124, allocations: 343.8 kB / 488.9 MB, free: 12.34 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=480 -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