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.001971/0.001971, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001644/0.001644, allocations: 215.1 kB / 23.04 MB, free: 5.074 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.599/1.599, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.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.07174/0.07174, allocations: 14.38 MB / 300.5 MB, free: 7.449 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: "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="cs",version="2.0",platforms={"static"}) [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.00238/0.00238, allocations: 75.91 kB / 421.4 MB, free: 39.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1032, allocations: 52.89 MB / 474.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001704/0.1049, allocations: 0.4892 MB / 474.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.1053, allocations: 124.1 kB / 474.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.1053, allocations: 0 / 474.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.1053, allocations: 3.938 kB / 474.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.1056, allocations: 19.42 kB / 474.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.662e-06/0.1056, allocations: 4 kB / 474.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.529e-05/0.1056, allocations: 3.938 kB / 474.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.1057, allocations: 7.938 kB / 474.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.1057, allocations: 7.984 kB / 474.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1058, allocations: 8 kB / 475 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-06/0.1058, allocations: 0 / 475 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-06/0.1058, allocations: 0 / 475 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.1059, allocations: 0 / 475 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.1059, allocations: 0 / 475 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.235e-05/0.1059, allocations: 3.938 kB / 475 MB, free: 1.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1059, allocations: 0 / 475 MB, free: 1.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1059, allocations: 0 / 475 MB, free: 1.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1059, allocations: 4 kB / 475 MB, free: 1.652 MB / 334.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.000279/0.1062, allocations: 238.7 kB / 475.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1062, allocations: 12.03 kB / 475.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.772e-05/0.1063, allocations: 4.188 kB / 475.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.1063, allocations: 30.75 kB / 475.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.845e-05/0.1063, allocations: 0.9375 kB / 475.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.158e-05/0.1064, allocations: 102.5 kB / 475.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.1064, allocations: 4.375 kB / 475.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.1064, allocations: 384 / 475.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1065, allocations: 59.66 kB / 475.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1065, allocations: 0 / 475.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1065, allocations: 0 / 475.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1065, allocations: 0 / 475.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.1065, allocations: 4 kB / 475.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1069, allocations: 446.6 kB / 475.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.107, allocations: 165.1 kB / 476 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.1071, allocations: 82.41 kB / 476.1 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1071, allocations: 79.28 kB / 476.2 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.1071, allocations: 109.9 kB / 476.3 MB, free: 200 kB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1071, allocations: 4 kB / 476.3 MB, free: 196 kB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.506e-05/0.1072, allocations: 33.62 kB / 476.3 MB, free: 156 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.1073, allocations: 126.7 kB / 476.4 MB, free: 16 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1074, allocations: 97.84 kB / 476.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1074, allocations: 25.7 kB / 476.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1075, allocations: 88.09 kB / 476.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.1075, allocations: 0 / 476.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1075, allocations: 21.8 kB / 476.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1076, allocations: 314.8 kB / 477 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.1077, allocations: 3.938 kB / 477 MB, free: 15.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.1077, allocations: 17.72 kB / 477 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.1077, allocations: 17.66 kB / 477 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1077, allocations: 0 / 477 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.1078, allocations: 45.69 kB / 477 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1078, allocations: 4 kB / 477.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1078, allocations: 0 / 477.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1079, allocations: 4 kB / 477.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.1079, allocations: 0 / 477.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1079, allocations: 11.94 kB / 477.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.1079, allocations: 4 kB / 477.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1079, allocations: 0 / 477.1 MB, free: 15.32 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.0001177/0.1081, allocations: 197.1 kB / 477.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.1081, allocations: 101 kB / 477.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.1082, allocations: 108.1 kB / 477.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.202e-05/0.1083, allocations: 176.3 kB / 477.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.439e-05/0.1084, allocations: 184.3 kB / 477.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.001e-05/0.1085, allocations: 184.2 kB / 478 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.1087, allocations: 372.2 kB / 478.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-05/0.1088, allocations: 113 kB / 478.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.1088, allocations: 101 kB / 478.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.794e-05/0.1089, allocations: 184.2 kB / 478.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.689e-05/0.109, allocations: 180.2 kB / 478.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.28e-05/0.1091, allocations: 184.3 kB / 479.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.238e-05/0.1092, allocations: 180.2 kB / 479.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.1093, allocations: 307.8 kB / 479.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.1094, allocations: 104.9 kB / 479.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.866e-05/0.1095, allocations: 180.5 kB / 479.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1096, allocations: 108.9 kB / 480 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.1097, allocations: 188.3 kB / 480.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.1097, allocations: 101 kB / 480.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.143e-05/0.1098, allocations: 79.28 kB / 480.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1098, allocations: 0 / 480.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000221/0.11, allocations: 3.938 kB / 480.3 MB, free: 11.86 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.0004473/0.1104, allocations: 0.8049 MB / 481.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.717e-05/0.1105, allocations: 0 / 481.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1105, allocations: 7.938 kB / 481.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1105, allocations: 0 / 481.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1109, allocations: 459.8 kB / 481.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.1113, allocations: 193.7 kB / 481.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1116, allocations: 0.6767 MB / 482.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.1117, allocations: 4 kB / 482.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.1117, allocations: 7.438 kB / 482.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1117, allocations: 4 kB / 482.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.1345, allocations: 1.04 MB / 483.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/11.99, allocations: 7.922 kB / 483.5 MB, free: 8.598 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat --tempDir=temp_PowerGrids_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 52.5] 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: 15.015636213996913]