Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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] "Error: Unknown option --generateDynamicJacobian. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 111.9 kB / 17.14 MB, free: 5.91 MB / 14.72 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.001548/0.001548, allocations: 207.5 kB / 20.11 MB, free: 2.953 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.724/1.724, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.06799/0.06799, allocations: 14.4 MB / 296.8 MB, free: 1.879 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.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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 71.89 kB / 416.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2702, allocations: 52.86 MB / 469.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001682/0.2718, allocations: 484.2 kB / 469.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003671/0.2722, allocations: 124.6 kB / 470.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.2722, allocations: 0 / 470.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.2723, allocations: 1.188 kB / 470.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.2725, allocations: 22.64 kB / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.108e-06/0.2725, allocations: 0 / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.2726, allocations: 5.094 kB / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.2726, allocations: 5.25 kB / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.2727, allocations: 1.125 kB / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.2728, allocations: 14.94 kB / 470.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.017e-06/0.2728, allocations: 0 / 470.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-06/0.2728, allocations: 0 / 470.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-06/0.2728, allocations: 1.125 kB / 470.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.2728, allocations: 3.938 kB / 470.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.477e-05/0.2728, allocations: 1.062 kB / 470.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2728, allocations: 0 / 470.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2728, allocations: 0 / 470.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.2729, allocations: 5.188 kB / 470.1 MB, free: 11.84 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.0003334/0.2732, allocations: 317.8 kB / 470.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2732, allocations: 9.438 kB / 470.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.2732, allocations: 2.062 kB / 470.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2734, allocations: 160.4 kB / 470.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2734, allocations: 1.656 kB / 470.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.2734, allocations: 5.578 kB / 470.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2735, allocations: 51.36 kB / 470.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2735, allocations: 192 / 470.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2735, allocations: 3.938 kB / 470.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2735, allocations: 1.062 kB / 470.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.2736, allocations: 6.328 kB / 470.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.2739, allocations: 464 kB / 471.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.274, allocations: 174.4 kB / 471.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.2741, allocations: 88.16 kB / 471.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2741, allocations: 79.28 kB / 471.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.2742, allocations: 106.8 kB / 471.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2742, allocations: 0 / 471.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.226e-05/0.2743, allocations: 34.92 kB / 471.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.2744, allocations: 127.7 kB / 471.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.2744, allocations: 92.14 kB / 471.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2745, allocations: 27.14 kB / 471.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.2745, allocations: 96.06 kB / 471.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2745, allocations: 1.156 kB / 471.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.2746, allocations: 23.58 kB / 472 MB, free: 9.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2747, allocations: 316 kB / 472.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-06/0.2747, allocations: 1.312 kB / 472.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.2747, allocations: 16.09 kB / 472.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.277e-05/0.2748, allocations: 17.16 kB / 472.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2748, allocations: 3.938 kB / 472.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001058/0.2749, allocations: 42.25 kB / 472.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2749, allocations: 9.781 kB / 472.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2749, allocations: 0 / 472.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2749, allocations: 0.9062 kB / 472.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.275, allocations: 3.188 kB / 472.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.275, allocations: 5.125 kB / 472.4 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.275, allocations: 1.094 kB / 472.4 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.275, allocations: 1.312 kB / 472.4 MB, free: 9.418 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.000141/0.2751, allocations: 186.4 kB / 472.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.2752, allocations: 110 kB / 472.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.2753, allocations: 109.2 kB / 472.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.003e-05/0.2753, allocations: 177.3 kB / 472.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.961e-05/0.2754, allocations: 181.4 kB / 473.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.595e-05/0.2755, allocations: 181.4 kB / 473.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.2758, allocations: 406.3 kB / 473.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.596e-05/0.2758, allocations: 106 kB / 473.8 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.2759, allocations: 106.1 kB / 473.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-05/0.276, allocations: 177.3 kB / 474.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/0.2761, allocations: 185.2 kB / 474.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/0.2761, allocations: 177.4 kB / 474.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.704e-05/0.2762, allocations: 184.2 kB / 474.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.2764, allocations: 312.1 kB / 474.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.2765, allocations: 183.2 kB / 475.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.2766, allocations: 177.5 kB / 475.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.2767, allocations: 106 kB / 475.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.2768, allocations: 181.6 kB / 475.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.2768, allocations: 113 kB / 475.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.2769, allocations: 77.75 kB / 475.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2769, allocations: 0 / 475.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.2771, allocations: 5.219 kB / 475.7 MB, free: 5.855 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.0001238/0.2772, allocations: 172.8 kB / 475.9 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.603e-05/0.2773, allocations: 8.156 kB / 475.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2773, allocations: 0 / 475.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.2773, allocations: 1.125 kB / 475.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2777, allocations: 460.8 kB / 476.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.278, allocations: 165.9 kB / 476.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2783, allocations: 0.674 MB / 477.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.821e-05/0.2783, allocations: 1.219 kB / 477.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.2783, allocations: 7.438 kB / 477.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2783, allocations: 0 / 477.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of Templates: time 0.002364/0.2807, allocations: 178.4 kB / 477.4 MB, free: 4.238 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_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: 4.984588651001104]