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.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.001406/0.001406, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001662/0.001662, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.05776/0.05776, allocations: 12.94 MB / 272.9 MB, free: 0.5117 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347 MB, free: 1.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.598e-05, allocations: 2.312 kB / 347 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001257/0.001283, allocations: 493 kB / 347.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.00152, allocations: 111.6 kB / 347.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.001542, allocations: 0 / 347.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.001561, allocations: 3.938 kB / 347.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.001817, allocations: 23.91 kB / 347.6 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.625e-06/0.001819, allocations: 3.938 kB / 347.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.178e-05/0.001851, allocations: 7.938 kB / 347.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.001889, allocations: 4 kB / 347.6 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.001907, allocations: 0 / 347.6 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.002016, allocations: 11.98 kB / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.002022, allocations: 0 / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-06/0.002025, allocations: 0 / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-06/0.002031, allocations: 0 / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.097e-05/0.002042, allocations: 0 / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.655e-05/0.002079, allocations: 0 / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00208, allocations: 0 / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.002081, allocations: 4 kB / 347.6 MB, free: 1.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002085, allocations: 0 / 347.6 MB, free: 1.012 MB / 266.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.0001544/0.002239, allocations: 340.4 kB / 348 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.002275, allocations: 12.03 kB / 348 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.002305, allocations: 0.9375 kB / 348 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.204e-05/0.002337, allocations: 104.6 kB / 348.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.002347, allocations: 4.375 kB / 348.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.002356, allocations: 384 / 348.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/0.002435, allocations: 57.56 kB / 348.1 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.002442, allocations: 4.125 kB / 348.1 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.00245, allocations: 4.375 kB / 348.1 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.002456, allocations: 384 / 348.1 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.296e-05/0.002469, allocations: 7.938 kB / 348.2 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.002732, allocations: 0.587 MB / 348.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.002815, allocations: 269.4 kB / 349 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.00285, allocations: 126.9 kB / 349.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.002878, allocations: 123.2 kB / 349.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.002922, allocations: 156.6 kB / 349.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.002923, allocations: 4 kB / 349.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.386e-05/0.002977, allocations: 33.58 kB / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.003029, allocations: 174.6 kB / 349.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.003108, allocations: 153.9 kB / 349.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.003118, allocations: 29.69 kB / 349.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.003167, allocations: 139.1 kB / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.003169, allocations: 0 / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.003195, allocations: 19.38 kB / 349.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.003302, allocations: 492.1 kB / 350.4 MB, free: 14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.003312, allocations: 4 kB / 350.4 MB, free: 14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.003326, allocations: 15.38 kB / 350.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.003359, allocations: 27.56 kB / 350.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003361, allocations: 0 / 350.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.242e-05/0.003454, allocations: 41.62 kB / 350.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.003469, allocations: 11.94 kB / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.003478, allocations: 0 / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.003492, allocations: 0 / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.003534, allocations: 4 kB / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.003541, allocations: 3.984 kB / 350.5 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.003553, allocations: 7.891 kB / 350.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.00356, allocations: 12.06 kB / 350.6 MB, free: 13.85 MB / 282.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 8.08e-05/0.00364, allocations: 271.8 kB / 350.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.003689, allocations: 148.9 kB / 351 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.003745, allocations: 156 kB / 351.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/0.003806, allocations: 272.1 kB / 351.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.93e-05/0.003865, allocations: 264.1 kB / 351.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.039e-05/0.003926, allocations: 276 kB / 351.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.004083, allocations: 499.9 kB / 352.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/0.004117, allocations: 148.9 kB / 352.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.004151, allocations: 148.8 kB / 352.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.119e-05/0.004212, allocations: 272.1 kB / 353 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.004276, allocations: 276 kB / 353.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.883e-05/0.004335, allocations: 268 kB / 353.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.266e-05/0.004398, allocations: 268 kB / 353.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.004534, allocations: 448 kB / 354.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.004578, allocations: 152.8 kB / 354.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.004649, allocations: 268.1 kB / 354.6 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.004706, allocations: 152.8 kB / 354.7 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.004771, allocations: 264.1 kB / 355 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.004805, allocations: 152.9 kB / 355.2 MB, free: 9.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.924e-05/0.004844, allocations: 123.2 kB / 355.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004844, allocations: 0 / 355.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.004985, allocations: 0 / 355.3 MB, free: 8.934 MB / 282.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.000101/0.005086, allocations: 218.4 kB / 355.5 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.005161, allocations: 11.69 kB / 355.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.005163, allocations: 0 / 355.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.005164, allocations: 0 / 355.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.005489, allocations: 0.7023 MB / 356.2 MB, free: 7.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.005701, allocations: 220.6 kB / 356.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.005734, allocations: 55.36 kB / 356.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.875e-05/0.005753, allocations: 0 / 356.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.005775, allocations: 8.5 kB / 356.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.005776, allocations: 0 / 356.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of Templates: time 0.001665/0.007441, allocations: 205.1 kB / 356.7 MB, free: 7.461 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9830610738135874]