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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 105.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.491/1.491, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.07052/0.07052, allocations: 14.4 MB / 296.1 MB, free: 8.652 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.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: "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 68.23 kB / 415.4 MB, free: 40.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08593, allocations: 52.87 MB / 468.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001822/0.08775, allocations: 481 kB / 468.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.08813, allocations: 119.6 kB / 468.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.08816, allocations: 0 / 468.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.08818, allocations: 0 / 468.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.08847, allocations: 27.91 kB / 468.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.988e-06/0.08847, allocations: 0 / 468.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.666e-05/0.08851, allocations: 3.938 kB / 468.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.08856, allocations: 4 kB / 468.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.08857, allocations: 0 / 468.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.0887, allocations: 16.38 kB / 468.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-06/0.08871, allocations: 0 / 468.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-06/0.08871, allocations: 0 / 468.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.08872, allocations: 0 / 468.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.08873, allocations: 4 kB / 468.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.049e-05/0.08877, allocations: 3.938 kB / 468.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.08877, allocations: 0 / 468.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08878, allocations: 0 / 468.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.08878, allocations: 0 / 468.9 MB, free: 3.16 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.0003303/0.08911, allocations: 319.7 kB / 469.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.08916, allocations: 12.06 kB / 469.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.08919, allocations: 30.75 kB / 469.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.08921, allocations: 4.922 kB / 469.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.08932, allocations: 164.3 kB / 469.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.08934, allocations: 4.375 kB / 469.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.08935, allocations: 4.375 kB / 469.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.08946, allocations: 43.97 kB / 469.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.08947, allocations: 3.938 kB / 469.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.08948, allocations: 4 kB / 469.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.08948, allocations: 0 / 469.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.0895, allocations: 3.938 kB / 469.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.0899, allocations: 471.6 kB / 469.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/0.08999, allocations: 173.2 kB / 470.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.09005, allocations: 82.41 kB / 470.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.09008, allocations: 75.28 kB / 470.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.09014, allocations: 113.8 kB / 470.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.09014, allocations: 0 / 470.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.854e-05/0.09021, allocations: 29.69 kB / 470.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.09028, allocations: 130.7 kB / 470.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.09037, allocations: 93.86 kB / 470.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.09038, allocations: 25.7 kB / 470.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.09043, allocations: 92.22 kB / 470.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.09043, allocations: 0 / 470.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.09046, allocations: 13.67 kB / 470.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.0906, allocations: 318.8 kB / 471 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.09061, allocations: 4 kB / 471 MB, free: 0.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.09063, allocations: 17.66 kB / 471.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.363e-05/0.09066, allocations: 21.72 kB / 471.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.09067, allocations: 0 / 471.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000103/0.09077, allocations: 45.62 kB / 471.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.09078, allocations: 11.94 kB / 471.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.09079, allocations: 0 / 471.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.0908, allocations: 0 / 471.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.09085, allocations: 4 kB / 471.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.09085, allocations: 0 / 471.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.09087, allocations: 0 / 471.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.09087, allocations: 8.062 kB / 471.2 MB, free: 0.625 MB / 334.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.0001024/0.09097, allocations: 185.1 kB / 471.3 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.09104, allocations: 104.9 kB / 471.4 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.0911, allocations: 112.1 kB / 471.5 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.916e-05/0.09118, allocations: 180.3 kB / 471.7 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-05/0.09128, allocations: 184.1 kB / 471.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.066e-05/0.09135, allocations: 180.3 kB / 472.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.09163, allocations: 409.1 kB / 472.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/0.09167, allocations: 105 kB / 472.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.09172, allocations: 101 kB / 472.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.164e-05/0.0918, allocations: 184.2 kB / 472.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-05/0.09188, allocations: 180.3 kB / 473 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-05/0.09196, allocations: 188.2 kB / 473.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.138e-05/0.09204, allocations: 176.3 kB / 473.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.09223, allocations: 307.7 kB / 473.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.09234, allocations: 182.1 kB / 473.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.09243, allocations: 188.5 kB / 474.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.09252, allocations: 101 kB / 474.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.09261, allocations: 180.3 kB / 474.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.09267, allocations: 112.9 kB / 474.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.007e-05/0.09272, allocations: 79.27 kB / 474.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09272, allocations: 0 / 474.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.09294, allocations: 4.094 kB / 474.5 MB, free: 13.04 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.0004602/0.0934, allocations: 0.8009 MB / 475.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.09348, allocations: 7.938 kB / 475.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.09349, allocations: 128 / 475.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.09349, allocations: 4 kB / 475.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.09391, allocations: 459.7 kB / 475.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.09428, allocations: 181.9 kB / 476 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.09459, allocations: 0.669 MB / 476.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.965e-05/0.09461, allocations: 7.875 kB / 476.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.09463, allocations: 19.42 kB / 476.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.09463, allocations: 0 / 476.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.1177, allocations: 0.9068 MB / 477.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/8.689, allocations: 4.562 kB / 477.6 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 651] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.390069604851305]