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.001619/0.001619, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001845/0.001845, allocations: 219.3 kB / 23.03 MB, free: 4.949 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.642/1.642, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.07744/0.07744, allocations: 14.38 MB / 300.5 MB, free: 7.25 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.002335/0.002335, allocations: 71.91 kB / 421.4 MB, free: 39.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09658, allocations: 52.9 MB / 474.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001703/0.09829, allocations: 493 kB / 474.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.09863, allocations: 120 kB / 474.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.09866, allocations: 0 / 474.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.09867, allocations: 0 / 474.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.09893, allocations: 19.94 kB / 474.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.397e-06/0.09893, allocations: 0 / 474.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 2.935e-05/0.09896, allocations: 3.938 kB / 474.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.099, allocations: 3.984 kB / 474.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.097e-05/0.09901, allocations: 0 / 474.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.09912, allocations: 15.92 kB / 474.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.227e-06/0.09913, allocations: 0 / 474.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-06/0.09913, allocations: 0 / 474.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-06/0.09914, allocations: 0 / 474.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.797e-06/0.09915, allocations: 0 / 474.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.199e-05/0.09918, allocations: 8 kB / 474.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.09918, allocations: 0 / 474.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09918, allocations: 0 / 474.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.09919, allocations: 0 / 474.9 MB, free: 1.469 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.0002696/0.09946, allocations: 242.7 kB / 475.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.0995, allocations: 8.031 kB / 475.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.09951, allocations: 4.188 kB / 475.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.09954, allocations: 30.75 kB / 475.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.627e-05/0.09956, allocations: 0.9375 kB / 475.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.48e-05/0.09964, allocations: 102.5 kB / 475.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.09965, allocations: 4.375 kB / 475.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.09966, allocations: 4.375 kB / 475.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.09975, allocations: 55.66 kB / 475.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.09976, allocations: 0 / 475.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.09977, allocations: 0 / 475.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.09977, allocations: 0 / 475.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.09979, allocations: 11.94 kB / 475.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.1001, allocations: 438.6 kB / 475.8 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1003, allocations: 173.2 kB / 476 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.1003, allocations: 86.38 kB / 476.1 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1003, allocations: 83.27 kB / 476.1 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/0.1004, allocations: 105.8 kB / 476.2 MB, free: 0 / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.1004, allocations: 0 / 476.2 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.786e-05/0.1005, allocations: 33.69 kB / 476.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.1006, allocations: 126.7 kB / 476.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.1006, allocations: 93.86 kB / 476.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1007, allocations: 25.7 kB / 476.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.1007, allocations: 92.03 kB / 476.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1007, allocations: 3.938 kB / 476.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1008, allocations: 17.67 kB / 476.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1009, allocations: 314.9 kB / 476.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.1009, allocations: 4 kB / 476.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.1009, allocations: 17.72 kB / 477 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.101, allocations: 17.66 kB / 477 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.101, allocations: 0 / 477 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/0.1011, allocations: 41.69 kB / 477 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1011, allocations: 10.66 kB / 477 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1011, allocations: 3.984 kB / 477 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1011, allocations: 4.125 kB / 477 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.1012, allocations: 7.938 kB / 477 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1012, allocations: 0 / 477 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.1012, allocations: 0 / 477 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1012, allocations: 0 / 477 MB, free: 15.13 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.0001121/0.1013, allocations: 189.1 kB / 477.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1014, allocations: 105 kB / 477.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.1014, allocations: 112.1 kB / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.842e-05/0.1015, allocations: 176.3 kB / 477.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.311e-05/0.1016, allocations: 180.3 kB / 477.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.609e-05/0.1017, allocations: 188.2 kB / 478 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.1019, allocations: 372.2 kB / 478.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.947e-05/0.102, allocations: 113 kB / 478.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.102, allocations: 105 kB / 478.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-05/0.1021, allocations: 184.2 kB / 478.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.1022, allocations: 184.2 kB / 478.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.928e-05/0.1023, allocations: 176.3 kB / 479.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.522e-05/0.1024, allocations: 180.2 kB / 479.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1025, allocations: 311.8 kB / 479.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1026, allocations: 104.9 kB / 479.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.1027, allocations: 176.5 kB / 479.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.1028, allocations: 112.9 kB / 479.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.1029, allocations: 184.3 kB / 480.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.1029, allocations: 109 kB / 480.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.097e-05/0.103, allocations: 79.28 kB / 480.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.103, allocations: 3.938 kB / 480.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1032, allocations: 0 / 480.3 MB, free: 11.66 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.00046/0.1037, allocations: 0.797 MB / 481.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.706e-05/0.1037, allocations: 11.92 kB / 481.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1037, allocations: 224 / 481.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1037, allocations: 7.938 kB / 481.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1041, allocations: 463.7 kB / 481.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.1045, allocations: 185.8 kB / 481.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.1046, allocations: 59.34 kB / 481.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.1046, allocations: 0 / 481.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.1047, allocations: 7.438 kB / 481.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1047, allocations: 0 / 481.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.1266, allocations: 1.066 MB / 482.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.26, allocations: 3.75 kB / 482.9 MB, free: 9.012 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.36664863594342]