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.001706/0.001706, allocations: 117.1 kB / 17.13 MB, free: 5.781 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.001847/0.001847, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.424/1.424, allocations: 207.6 MB / 230.5 MB, free: 4.055 MB / 174.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.06901/0.06901, allocations: 14.42 MB / 296.7 MB, free: 1.887 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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [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.00222/0.00222, allocations: 71.89 kB / 416.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2395, allocations: 52.86 MB / 469.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001634/0.2412, allocations: 491.2 kB / 469.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000333/0.2415, allocations: 114.8 kB / 470 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.2415, allocations: 0 / 470 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.2416, allocations: 0 / 470 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.2418, allocations: 23.55 kB / 470 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.2418, allocations: 7.938 kB / 470 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.2419, allocations: 9.047 kB / 470 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.2419, allocations: 1.156 kB / 470 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.071e-05/0.2419, allocations: 0.9062 kB / 470 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.242, allocations: 10.91 kB / 470 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-06/0.242, allocations: 0 / 470 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.805e-06/0.242, allocations: 1.312 kB / 470 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-06/0.242, allocations: 0 / 470 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.223e-05/0.242, allocations: 3.984 kB / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.454e-05/0.2421, allocations: 4.844 kB / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2421, allocations: 4 kB / 470.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.2421, allocations: 1.281 kB / 470.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2421, allocations: 0 / 470.1 MB, free: 11.85 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.0002927/0.2424, allocations: 314.6 kB / 470.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2424, allocations: 9.625 kB / 470.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.2424, allocations: 0.9375 kB / 470.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2425, allocations: 165.6 kB / 470.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2426, allocations: 384 / 470.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2426, allocations: 1.469 kB / 470.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2427, allocations: 55.19 kB / 470.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2427, allocations: 192 / 470.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2427, allocations: 4.844 kB / 470.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2427, allocations: 0.9375 kB / 470.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.2427, allocations: 2 kB / 470.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.2431, allocations: 464 kB / 471.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.2432, allocations: 178.2 kB / 471.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.2432, allocations: 80.17 kB / 471.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.2432, allocations: 80.47 kB / 471.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.2433, allocations: 113.8 kB / 471.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 2.856e-06/0.2433, allocations: 5.172 kB / 471.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.203e-05/0.2434, allocations: 30.86 kB / 471.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.2434, allocations: 126.7 kB / 471.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/0.2435, allocations: 100.3 kB / 471.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2435, allocations: 26.95 kB / 471.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.2436, allocations: 84.09 kB / 471.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.2436, allocations: 1.25 kB / 471.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.2436, allocations: 20.17 kB / 471.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2438, allocations: 315.9 kB / 472.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.2438, allocations: 1.188 kB / 472.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.2438, allocations: 15.8 kB / 472.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.2438, allocations: 13.72 kB / 472.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2438, allocations: 7.938 kB / 472.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.508e-05/0.2439, allocations: 45.83 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2439, allocations: 4.562 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2439, allocations: 1.281 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2439, allocations: 1.281 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.244, allocations: 2.125 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.244, allocations: 1.094 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.244, allocations: 5.016 kB / 472.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.244, allocations: 5.062 kB / 472.3 MB, free: 9.434 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.000104/0.2441, allocations: 191.6 kB / 472.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.2442, allocations: 101 kB / 472.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.2442, allocations: 109.2 kB / 472.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.562e-05/0.2443, allocations: 181.4 kB / 472.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-05/0.2444, allocations: 181.6 kB / 473 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.627e-05/0.2445, allocations: 185.3 kB / 473.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.2447, allocations: 402.3 kB / 473.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.811e-05/0.2448, allocations: 105.9 kB / 473.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.2448, allocations: 105.8 kB / 473.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.2449, allocations: 177.7 kB / 474 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.245, allocations: 181.5 kB / 474.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.24e-05/0.245, allocations: 181.6 kB / 474.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-05/0.2451, allocations: 181.2 kB / 474.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.2453, allocations: 312.4 kB / 474.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.2453, allocations: 186 kB / 475 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.2454, allocations: 182.5 kB / 475.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.2455, allocations: 109 kB / 475.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.2456, allocations: 181.3 kB / 475.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.2456, allocations: 102 kB / 475.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.2457, allocations: 77.62 kB / 475.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2457, allocations: 3.938 kB / 475.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.2459, allocations: 1.219 kB / 475.7 MB, free: 5.875 MB / 334.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.0001061/0.246, allocations: 173.2 kB / 475.8 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.624e-05/0.246, allocations: 11.67 kB / 475.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2461, allocations: 1.125 kB / 475.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.2461, allocations: 4 kB / 475.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.2464, allocations: 457.8 kB / 476.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.2466, allocations: 183.5 kB / 476.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2469, allocations: 0.6778 MB / 477.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.2469, allocations: 9.156 kB / 477.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2469, allocations: 0 / 477.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of Templates: time 0.001506/0.2484, allocations: 346.4 kB / 477.5 MB, free: 4.16 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (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 & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] 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: 6.602620941121131]