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.001388/0.001388, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001447/0.001447, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9154/0.9154, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.05898/0.05898, allocations: 12.99 MB / 274 MB, free: 300 kB / 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.703e-06/1.703e-06, allocations: 0 / 348.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.093e-05, allocations: 4.703 kB / 348.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001157/0.001178, allocations: 497 kB / 348.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.001432, allocations: 119.6 kB / 348.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.001463, allocations: 0 / 348.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.001479, allocations: 0 / 348.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.001711, allocations: 23.86 kB / 348.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.001714, allocations: 0 / 348.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.263e-05/0.001746, allocations: 11.92 kB / 348.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.001788, allocations: 0 / 348.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.001804, allocations: 0 / 348.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.001911, allocations: 15.98 kB / 348.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.001917, allocations: 0 / 348.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.046e-06/0.00192, allocations: 4 kB / 348.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.001927, allocations: 0 / 348.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-06/0.001935, allocations: 0 / 348.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.533e-05/0.001971, allocations: 0 / 348.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.001972, allocations: 0 / 348.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.001973, allocations: 0 / 348.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.001977, allocations: 4 kB / 348.9 MB, free: 0.6328 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.0001761/0.002153, allocations: 340.4 kB / 349.3 MB, free: 268 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.002187, allocations: 11.97 kB / 349.3 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.00221, allocations: 4.875 kB / 349.3 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.308e-05/0.002253, allocations: 108.6 kB / 349.4 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002263, allocations: 4.375 kB / 349.4 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-06/0.002269, allocations: 384 / 349.4 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.016e-05/0.002329, allocations: 49.64 kB / 349.4 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.002337, allocations: 192 / 349.5 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.002342, allocations: 384 / 349.5 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.002348, allocations: 384 / 349.5 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.312e-05/0.002361, allocations: 15.86 kB / 349.5 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.002674, allocations: 0.572 MB / 350 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.002808, allocations: 265.5 kB / 350.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.002845, allocations: 126.9 kB / 350.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.002876, allocations: 127.1 kB / 350.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.002931, allocations: 156.6 kB / 350.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.002932, allocations: 0 / 350.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.735e-05/0.002989, allocations: 29.64 kB / 350.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.003059, allocations: 178.6 kB / 350.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.003145, allocations: 153.9 kB / 351.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.003156, allocations: 25.7 kB / 351.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.00321, allocations: 135.1 kB / 351.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.003212, allocations: 0 / 351.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.003242, allocations: 23.5 kB / 351.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.00337, allocations: 496.1 kB / 351.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.003377, allocations: 4 kB / 351.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.003393, allocations: 27.28 kB / 351.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.003425, allocations: 19.38 kB / 351.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.003427, allocations: 0 / 351.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.892e-05/0.003506, allocations: 37.64 kB / 351.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.003519, allocations: 8 kB / 351.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.003523, allocations: 128 / 351.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.003533, allocations: 7.938 kB / 351.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.003576, allocations: 11.98 kB / 351.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.00358, allocations: 4 kB / 351.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.003594, allocations: 3.953 kB / 351.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.003598, allocations: 0 / 351.8 MB, free: 13.5 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.479e-05/0.003683, allocations: 275.8 kB / 352.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.003727, allocations: 152.8 kB / 352.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.003768, allocations: 152 kB / 352.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/0.003823, allocations: 272.1 kB / 352.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-05/0.003889, allocations: 272 kB / 352.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.885e-05/0.003958, allocations: 272.1 kB / 353.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.004132, allocations: 484.5 kB / 353.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/0.004159, allocations: 148.9 kB / 353.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.00419, allocations: 152.8 kB / 354 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.004242, allocations: 264.1 kB / 354.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.004362, allocations: 268.1 kB / 354.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.083e-05/0.004413, allocations: 268 kB / 354.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.137e-05/0.004464, allocations: 264.1 kB / 355 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.004573, allocations: 455.9 kB / 355.5 MB, free: 9.734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.004609, allocations: 148.9 kB / 355.6 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.004663, allocations: 272 kB / 355.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.004712, allocations: 148.9 kB / 356 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.004905, allocations: 275.9 kB / 356.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.004935, allocations: 144.9 kB / 356.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.009e-05/0.004965, allocations: 123.2 kB / 356.5 MB, free: 8.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004965, allocations: 0 / 356.5 MB, free: 8.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001295/0.005094, allocations: 0 / 356.5 MB, free: 8.609 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 8.267e-05/0.005177, allocations: 214.4 kB / 356.8 MB, free: 8.391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.334e-05/0.00523, allocations: 15.78 kB / 356.8 MB, free: 8.371 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.005231, allocations: 4.062 kB / 356.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.005232, allocations: 0 / 356.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.005496, allocations: 0.7062 MB / 357.5 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00014/0.005636, allocations: 204.5 kB / 357.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.567e-05/0.005662, allocations: 51.36 kB / 357.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.005679, allocations: 4 kB / 357.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.005707, allocations: 66.2 kB / 357.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005707, allocations: 0 / 357.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of Templates: time 0.001269/0.006977, allocations: 224.9 kB / 358 MB, free: 7.07 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.659480446949601]