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.001051/0.001051, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.001145/0.001145, 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1027/0.1027, allocations: 16.79 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 427.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 53.56 MB / 480.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001699/0.1112, allocations: 481.1 kB / 481.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003265/0.1115, allocations: 123.5 kB / 481.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.1116, allocations: 0 / 481.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.1116, allocations: 4 kB / 481.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.1119, allocations: 19.91 kB / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.1119, allocations: 0 / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.977e-05/0.112, allocations: 0 / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.112, allocations: 352 / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.112, allocations: 7.938 kB / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1122, allocations: 19.97 kB / 481.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-06/0.1122, allocations: 0 / 481.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-06/0.1122, allocations: 0 / 481.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.1122, allocations: 4 kB / 481.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.1122, allocations: 3.938 kB / 481.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.807e-05/0.1122, allocations: 4 kB / 481.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1123, allocations: 0 / 481.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1123, allocations: 0 / 481.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1123, allocations: 0 / 481.4 MB, free: 4.344 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.0002578/0.1125, allocations: 307.6 kB / 481.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1126, allocations: 16.02 kB / 481.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.1126, allocations: 0.9375 kB / 481.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/0.1127, allocations: 164.4 kB / 481.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1127, allocations: 384 / 481.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1127, allocations: 4.375 kB / 481.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.546e-05/0.1128, allocations: 43.98 kB / 482 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1129, allocations: 4.125 kB / 482 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1129, allocations: 7.875 kB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.1129, allocations: 4 kB / 482 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.1129, allocations: 4 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.1132, allocations: 463.7 kB / 482.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.1133, allocations: 173 kB / 482.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.1134, allocations: 84.14 kB / 482.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1134, allocations: 75.28 kB / 482.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.1134, allocations: 109.8 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1134, allocations: 4.031 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.781e-05/0.1135, allocations: 25.7 kB / 482.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.1136, allocations: 130.6 kB / 483 MB, free: 2.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.1137, allocations: 101.9 kB / 483.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.1137, allocations: 25.7 kB / 483.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.1137, allocations: 87.98 kB / 483.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.1137, allocations: 0 / 483.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1138, allocations: 17.7 kB / 483.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1139, allocations: 314.8 kB / 483.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.1139, allocations: 3.938 kB / 483.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.1139, allocations: 17.84 kB / 483.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.114, allocations: 13.72 kB / 483.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.114, allocations: 3.938 kB / 483.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.611e-05/0.1141, allocations: 45.62 kB / 483.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1141, allocations: 4 kB / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1141, allocations: 0 / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1141, allocations: 4 kB / 483.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.1142, allocations: 4.125 kB / 483.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1142, allocations: 4 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.1142, allocations: 0 / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1142, allocations: 0 / 483.7 MB, free: 1.871 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 7.962e-05/0.1143, allocations: 189 kB / 483.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.1144, allocations: 105 kB / 483.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1144, allocations: 112.1 kB / 484.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.676e-05/0.1145, allocations: 184.2 kB / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.568e-05/0.1145, allocations: 180.3 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/0.1146, allocations: 180.2 kB / 484.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1148, allocations: 405.2 kB / 485 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/0.1148, allocations: 109 kB / 485.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.1149, allocations: 104.9 kB / 485.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-05/0.1149, allocations: 184.2 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.115, allocations: 184.2 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.553e-05/0.1151, allocations: 184.3 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/0.1151, allocations: 176.3 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.1153, allocations: 319.5 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.1153, allocations: 186 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.1154, allocations: 180.5 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1155, allocations: 101 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.1156, allocations: 188.2 kB / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.1156, allocations: 101 kB / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.867e-05/0.1156, allocations: 83.27 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1157, allocations: 4 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1159, allocations: 0 / 487 MB, free: 14.26 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 9.245e-05/0.116, allocations: 166.5 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.858e-05/0.1161, allocations: 11.94 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1161, allocations: 3.938 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1161, allocations: 4.219 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1164, allocations: 459.6 kB / 487.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.1166, allocations: 177.9 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1169, allocations: 0.6729 MB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.1169, allocations: 7.438 kB / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1169, allocations: 0 / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.001388/0.1183, allocations: 351.8 kB / 488.9 MB, free: 12.36 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