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.0.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.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.4 kB / 17.14 MB, free: 5.93 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.002349/0.002349, allocations: 195.7 kB / 20.1 MB, free: 2.988 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.879/1.879, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.06893/0.06893, allocations: 14.4 MB / 296.7 MB, free: 1.91 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_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.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.002948/0.002948, allocations: 76.41 kB / 416.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3251, allocations: 52.87 MB / 469.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001723/0.3268, allocations: 472.7 kB / 469.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.3272, allocations: 125.6 kB / 470 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.3272, allocations: 4 kB / 470 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.3272, allocations: 0 / 470 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.3275, allocations: 27.08 kB / 470 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.447e-06/0.3275, allocations: 0 / 470 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.842e-05/0.3276, allocations: 1.438 kB / 470 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.3276, allocations: 1.469 kB / 470 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.3276, allocations: 3.938 kB / 470.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3278, allocations: 19.97 kB / 470.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-06/0.3278, allocations: 0 / 470.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-06/0.3278, allocations: 0 / 470.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-06/0.3278, allocations: 0 / 470.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.044e-05/0.3278, allocations: 0 / 470.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.082e-05/0.3278, allocations: 5.469 kB / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3278, allocations: 0 / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3278, allocations: 0 / 470.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3278, allocations: 1.5 kB / 470.1 MB, free: 11.86 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.0003429/0.3282, allocations: 318.1 kB / 470.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3282, allocations: 13.22 kB / 470.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.3282, allocations: 2.188 kB / 470.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3284, allocations: 164.4 kB / 470.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3284, allocations: 1.406 kB / 470.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3284, allocations: 384 / 470.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.3285, allocations: 43.53 kB / 470.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3285, allocations: 1.156 kB / 470.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3285, allocations: 7.938 kB / 470.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3285, allocations: 5.062 kB / 470.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.3286, allocations: 6.219 kB / 470.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.329, allocations: 468.1 kB / 471.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.3291, allocations: 170.2 kB / 471.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.3291, allocations: 84.17 kB / 471.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.3292, allocations: 83.22 kB / 471.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/0.3292, allocations: 106.8 kB / 471.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3292, allocations: 1.188 kB / 471.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.094e-05/0.3293, allocations: 25.7 kB / 471.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.3294, allocations: 135.7 kB / 471.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.3295, allocations: 96.45 kB / 471.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3295, allocations: 26.98 kB / 471.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.3295, allocations: 84.09 kB / 471.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.3295, allocations: 1.688 kB / 471.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3296, allocations: 19.2 kB / 471.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3297, allocations: 312.8 kB / 472.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.3297, allocations: 3.984 kB / 472.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.3297, allocations: 21.34 kB / 472.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.3298, allocations: 16.62 kB / 472.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3298, allocations: 7.875 kB / 472.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.568e-05/0.3299, allocations: 37.86 kB / 472.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3299, allocations: 4.906 kB / 472.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3299, allocations: 1.031 kB / 472.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3299, allocations: 5.094 kB / 472.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/0.33, allocations: 10.64 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.33, allocations: 0.75 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.33, allocations: 1.125 kB / 472.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.33, allocations: 1.062 kB / 472.3 MB, free: 9.441 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.0001181/0.3301, allocations: 190.5 kB / 472.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.3302, allocations: 106.3 kB / 472.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.3302, allocations: 105.7 kB / 472.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.484e-05/0.3303, allocations: 186.1 kB / 472.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001302/0.3305, allocations: 180.2 kB / 473.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.551e-05/0.3305, allocations: 177.4 kB / 473.2 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3308, allocations: 411.2 kB / 473.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.465e-05/0.3309, allocations: 101 kB / 473.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.037e-05/0.3309, allocations: 106.9 kB / 473.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-05/0.331, allocations: 180.9 kB / 474 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.91e-05/0.3311, allocations: 176.8 kB / 474.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.689e-05/0.3312, allocations: 185.1 kB / 474.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.287e-05/0.3313, allocations: 181.5 kB / 474.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3315, allocations: 311 kB / 474.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.3316, allocations: 183.2 kB / 475 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.3316, allocations: 186 kB / 475.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.3317, allocations: 105.9 kB / 475.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.3318, allocations: 181.3 kB / 475.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.3319, allocations: 105.8 kB / 475.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.3319, allocations: 76.81 kB / 475.7 MB, free: 5.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 1.25 kB / 475.7 MB, free: 5.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3322, allocations: 0 / 475.7 MB, free: 5.883 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.0001315/0.3323, allocations: 177.8 kB / 475.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.555e-05/0.3324, allocations: 7.625 kB / 475.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3324, allocations: 224 / 475.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3324, allocations: 5.219 kB / 475.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3328, allocations: 460.6 kB / 476.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.333, allocations: 162 kB / 476.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3333, allocations: 0.6741 MB / 477.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.614e-05/0.3334, allocations: 1.062 kB / 477.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.3334, allocations: 11.44 kB / 477.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3334, allocations: 1.188 kB / 477.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Templates: time 0.002197/0.3356, allocations: 181.4 kB / 477.3 MB, free: 4.254 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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.125628054141998]