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.0007978/0.0007978, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008228/0.0008228, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8356/0.8356, allocations: 158.6 MB / 184.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.03627/0.03627, allocations: 10.66 MB / 247.1 MB, free: 4.699 MB / 234.7 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="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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 368.1 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.865e-05, allocations: 2.281 kB / 368.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001078/0.001097, allocations: 0.4951 MB / 368.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.001327, allocations: 111.6 kB / 368.7 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.001348, allocations: 0 / 368.7 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.001362, allocations: 0 / 368.7 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.001593, allocations: 27.89 kB / 368.7 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.001597, allocations: 0 / 368.7 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.186e-05/0.001629, allocations: 7.938 kB / 368.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.001668, allocations: 0 / 368.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.001686, allocations: 0 / 368.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.001789, allocations: 15.97 kB / 368.7 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-06/0.001794, allocations: 0 / 368.7 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.776e-06/0.001797, allocations: 0 / 368.7 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-06/0.001803, allocations: 0 / 368.7 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-06/0.001811, allocations: 0 / 368.7 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.61e-05/0.001847, allocations: 8 kB / 368.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.00185, allocations: 0 / 368.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.001851, allocations: 0 / 368.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.001855, allocations: 0 / 368.7 MB, free: 5.762 MB / 298.7 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.0001885/0.002043, allocations: 238.4 kB / 369 MB, free: 5.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.00208, allocations: 8.031 kB / 369 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.002107, allocations: 38.69 kB / 369 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.823e-05/0.002125, allocations: 4.938 kB / 369 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.991e-05/0.002175, allocations: 105.8 kB / 369.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.002184, allocations: 384 / 369.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-06/0.002189, allocations: 384 / 369.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.002274, allocations: 43.98 kB / 369.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.002281, allocations: 4.188 kB / 369.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.002288, allocations: 384 / 369.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.002293, allocations: 4.125 kB / 369.2 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.002311, allocations: 7.938 kB / 369.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.002551, allocations: 434.8 kB / 369.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.703e-05/0.002608, allocations: 165.1 kB / 369.8 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.00263, allocations: 80.14 kB / 369.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.002651, allocations: 87.16 kB / 369.9 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.00268, allocations: 105.8 kB / 370 MB, free: 4.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.002681, allocations: 4 kB / 370 MB, free: 4.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.271e-05/0.002734, allocations: 25.7 kB / 370.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.002777, allocations: 138.6 kB / 370.2 MB, free: 4.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.002839, allocations: 97.8 kB / 370.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.002846, allocations: 25.7 kB / 370.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.002877, allocations: 84.14 kB / 370.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.00288, allocations: 0 / 370.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.002905, allocations: 21.67 kB / 370.4 MB, free: 3.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.002973, allocations: 310.8 kB / 370.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.00298, allocations: 0 / 370.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.002995, allocations: 25.77 kB / 370.7 MB, free: 3.535 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.003022, allocations: 17.72 kB / 370.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.003024, allocations: 0 / 370.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.511e-05/0.003099, allocations: 41.58 kB / 370.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.003111, allocations: 4 kB / 370.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.003115, allocations: 0 / 370.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.003126, allocations: 4 kB / 370.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.003171, allocations: 3.984 kB / 370.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.003176, allocations: 8.125 kB / 370.8 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-06/0.003186, allocations: 3.938 kB / 370.8 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.00319, allocations: 0 / 370.8 MB, free: 3.441 MB / 298.7 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 6.016e-05/0.00325, allocations: 191.1 kB / 371 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.003283, allocations: 108.9 kB / 371.1 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.003313, allocations: 108.1 kB / 371.2 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.003349, allocations: 184.2 kB / 371.4 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/0.003388, allocations: 180.2 kB / 371.6 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/0.003424, allocations: 176.3 kB / 371.7 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.003562, allocations: 376.2 kB / 372.1 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.003586, allocations: 109 kB / 372.2 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.003608, allocations: 108.9 kB / 372.3 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-05/0.003652, allocations: 184.4 kB / 372.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.00369, allocations: 176.3 kB / 372.7 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.811e-05/0.003728, allocations: 192.2 kB / 372.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.674e-05/0.003765, allocations: 176.3 kB / 373 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.003846, allocations: 303.8 kB / 373.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.003876, allocations: 108.9 kB / 373.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.003921, allocations: 184.2 kB / 373.6 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.003964, allocations: 109 kB / 373.7 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.004005, allocations: 180.3 kB / 373.9 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.004029, allocations: 108.9 kB / 374 MB, free: 52 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.004067, allocations: 79.28 kB / 374.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004067, allocations: 0 / 374.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001307/0.004198, allocations: 0 / 374.1 MB, free: 15.97 MB / 314.7 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.0002729/0.004471, allocations: 0.8009 MB / 374.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.737e-05/0.004528, allocations: 11.88 kB / 374.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.00453, allocations: 0 / 374.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.004531, allocations: 0 / 374.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.004757, allocations: 467.9 kB / 375.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.005007, allocations: 185.9 kB / 375.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.00504, allocations: 59.16 kB / 375.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.576e-05/0.005056, allocations: 3.938 kB / 375.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.005079, allocations: 12.5 kB / 375.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00508, allocations: 0 / 375.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.01814, allocations: 1.532 MB / 377.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/6.634, allocations: 3.938 kB / 377.2 MB, free: 12.85 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/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: 8.306462620384991]