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.001735/0.001735, allocations: 113.7 kB / 17.86 MB, free: 5.219 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.001917/0.001917, allocations: 202.4 kB / 20.81 MB, free: 2.277 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.644/1.644, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.07619/0.07619, allocations: 14.4 MB / 297.5 MB, free: 1.883 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.002348/0.002348, allocations: 71.91 kB / 417.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2942, allocations: 52.87 MB / 470.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001673/0.2958, allocations: 488.6 kB / 470.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.2962, allocations: 121.2 kB / 470.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.2962, allocations: 0 / 470.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.2963, allocations: 0 / 470.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.2966, allocations: 23.7 kB / 470.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.266e-06/0.2966, allocations: 0 / 470.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.304e-05/0.2966, allocations: 5.094 kB / 470.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.4e-05/0.2967, allocations: 5.094 kB / 470.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.2967, allocations: 1.312 kB / 470.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2968, allocations: 15.09 kB / 470.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-06/0.2968, allocations: 0 / 470.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-06/0.2968, allocations: 0 / 470.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.2968, allocations: 0 / 470.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.197e-05/0.2968, allocations: 1.125 kB / 470.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.002e-05/0.2969, allocations: 3.938 kB / 470.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2969, allocations: 1.062 kB / 470.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2969, allocations: 3.938 kB / 470.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2969, allocations: 4 kB / 470.8 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.000356/0.2972, allocations: 314.8 kB / 471.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2973, allocations: 13.52 kB / 471.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.2973, allocations: 2.094 kB / 471.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2974, allocations: 160.4 kB / 471.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2974, allocations: 1.438 kB / 471.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.2974, allocations: 1.594 kB / 471.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2976, allocations: 46.23 kB / 471.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2976, allocations: 1.312 kB / 471.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2976, allocations: 3.938 kB / 471.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.2976, allocations: 1.125 kB / 471.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.2976, allocations: 6.219 kB / 471.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.298, allocations: 460.2 kB / 471.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.2982, allocations: 177.1 kB / 472 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.2982, allocations: 89.34 kB / 472.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.2983, allocations: 79.28 kB / 472.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.2983, allocations: 111 kB / 472.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2983, allocations: 0 / 472.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.123e-05/0.2984, allocations: 26.86 kB / 472.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.2985, allocations: 130.7 kB / 472.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.2986, allocations: 97.39 kB / 472.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2986, allocations: 29.64 kB / 472.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.2987, allocations: 89.27 kB / 472.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.2987, allocations: 0 / 472.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.2987, allocations: 20.97 kB / 472.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2989, allocations: 311 kB / 473 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2989, allocations: 9.062 kB / 473 MB, free: 9.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.2989, allocations: 17.09 kB / 473 MB, free: 9.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.2989, allocations: 12.22 kB / 473 MB, free: 9.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2989, allocations: 5.344 kB / 473 MB, free: 9.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001047/0.299, allocations: 45.84 kB / 473 MB, free: 9.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2991, allocations: 12.47 kB / 473.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.2991, allocations: 1.25 kB / 473.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2991, allocations: 1.125 kB / 473.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.2991, allocations: 2.312 kB / 473.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2991, allocations: 1.125 kB / 473.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.2992, allocations: 1.188 kB / 473.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2992, allocations: 1.125 kB / 473.1 MB, free: 9.422 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.0001246/0.2993, allocations: 186.3 kB / 473.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.2994, allocations: 110 kB / 473.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.2994, allocations: 109.1 kB / 473.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.509e-05/0.2995, allocations: 185.5 kB / 473.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001587/0.2997, allocations: 181.5 kB / 473.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/0.2998, allocations: 177.4 kB / 474 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3001, allocations: 410.2 kB / 474.4 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-05/0.3001, allocations: 102.2 kB / 474.5 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.3002, allocations: 106.2 kB / 474.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-05/0.3003, allocations: 181.3 kB / 474.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.332e-05/0.3004, allocations: 181.4 kB / 474.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-05/0.3004, allocations: 181.5 kB / 475.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.109e-05/0.3005, allocations: 180.3 kB / 475.3 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.3007, allocations: 311.2 kB / 475.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3008, allocations: 183.4 kB / 475.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.3009, allocations: 182.4 kB / 476 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.301, allocations: 101 kB / 476.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.3011, allocations: 189.5 kB / 476.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.3012, allocations: 102.1 kB / 476.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.3012, allocations: 81.55 kB / 476.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3012, allocations: 0 / 476.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.3014, allocations: 1.25 kB / 476.4 MB, free: 5.859 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.0001384/0.3016, allocations: 168.6 kB / 476.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.164e-05/0.3017, allocations: 12.19 kB / 476.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3017, allocations: 0 / 476.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3017, allocations: 4.812 kB / 476.6 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.0004399/0.3021, allocations: 461.8 kB / 477.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.3023, allocations: 153.2 kB / 477.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3027, allocations: 0.678 MB / 477.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.781e-05/0.3027, allocations: 5.031 kB / 477.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.3027, allocations: 8.625 kB / 477.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3027, allocations: 0 / 477.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Templates: time 0.002308/0.305, allocations: 180.8 kB / 478.1 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.904321049980354]