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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 100.4 kB / 20.45 MB, free: 1.379 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.002496/0.002496, allocations: 213.4 kB / 23.75 MB, free: 4.531 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.462/1.462, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.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.07001/0.07001, allocations: 14.39 MB / 301.2 MB, free: 7.242 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.002266/0.002266, allocations: 76.27 kB / 422.6 MB, free: 38.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07259/0.07486, allocations: 52.9 MB / 475.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001611/0.07647, allocations: 496.3 kB / 476 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003348/0.0768, allocations: 116.1 kB / 476.1 MB, free: 1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.07683, allocations: 0 / 476.1 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.07684, allocations: 0 / 476.1 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.07708, allocations: 23.91 kB / 476.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.07708, allocations: 0 / 476.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.155e-05/0.07711, allocations: 0 / 476.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.07716, allocations: 0 / 476.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.07717, allocations: 11.94 kB / 476.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.07728, allocations: 11.92 kB / 476.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-06/0.07728, allocations: 0 / 476.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-06/0.07728, allocations: 0 / 476.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-06/0.07729, allocations: 0 / 476.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.266e-06/0.0773, allocations: 4 kB / 476.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.183e-05/0.07733, allocations: 0 / 476.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.07734, allocations: 3.984 kB / 476.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.07734, allocations: 0 / 476.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.07734, allocations: 0 / 476.2 MB, free: 0.9453 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.0002801/0.07762, allocations: 242.4 kB / 476.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.07766, allocations: 8.031 kB / 476.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.07768, allocations: 4.938 kB / 476.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.07778, allocations: 106.5 kB / 476.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-06/0.07778, allocations: 384 / 476.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.07779, allocations: 384 / 476.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.07788, allocations: 43.97 kB / 476.6 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.07789, allocations: 192 / 476.6 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.0779, allocations: 11.94 kB / 476.6 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.07791, allocations: 0 / 476.6 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.07793, allocations: 11.94 kB / 476.6 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.07827, allocations: 415.4 kB / 477 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.07838, allocations: 169.1 kB / 477.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.07842, allocations: 84.08 kB / 477.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.07846, allocations: 79.28 kB / 477.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/0.07853, allocations: 113.8 kB / 477.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.07853, allocations: 0 / 477.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.352e-05/0.07859, allocations: 25.7 kB / 477.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.07866, allocations: 130.7 kB / 477.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.07876, allocations: 97.81 kB / 477.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.07877, allocations: 29.69 kB / 477.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.07882, allocations: 88.09 kB / 477.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.07883, allocations: 0 / 477.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.07886, allocations: 13.72 kB / 477.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.07901, allocations: 314.8 kB / 478.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.07901, allocations: 0 / 478.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.07903, allocations: 13.72 kB / 478.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.07907, allocations: 21.66 kB / 478.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.07907, allocations: 4.188 kB / 478.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.98e-05/0.07917, allocations: 45.56 kB / 478.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.07918, allocations: 4 kB / 478.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.07918, allocations: 0 / 478.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.0792, allocations: 7.938 kB / 478.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.07924, allocations: 0 / 478.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.07925, allocations: 4 kB / 478.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.07926, allocations: 0 / 478.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.07927, allocations: 3.984 kB / 478.2 MB, free: 14.7 MB / 350.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.0001117/0.07938, allocations: 193.2 kB / 478.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.07945, allocations: 108.9 kB / 478.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.07951, allocations: 108.1 kB / 478.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-05/0.07959, allocations: 180.3 kB / 478.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.125e-05/0.07969, allocations: 180.2 kB / 479 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.919e-05/0.07977, allocations: 184.2 kB / 479.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.08, allocations: 348.9 kB / 479.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.08004, allocations: 109 kB / 479.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.0801, allocations: 108.9 kB / 479.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-05/0.08018, allocations: 184.2 kB / 479.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-05/0.08026, allocations: 180.3 kB / 480 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.733e-05/0.08035, allocations: 192.1 kB / 480.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.181e-05/0.08043, allocations: 176.3 kB / 480.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.081, allocations: 1.067 MB / 481.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.08106, allocations: 112.9 kB / 481.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.08115, allocations: 184.3 kB / 481.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.08125, allocations: 108.9 kB / 481.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.08134, allocations: 180.2 kB / 482 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.08139, allocations: 101 kB / 482.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.08143, allocations: 79.28 kB / 482.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08143, allocations: 0 / 482.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000376/0.08181, allocations: 8.094 kB / 482.2 MB, free: 10.43 MB / 350.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.0001223/0.08193, allocations: 174.5 kB / 482.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.793e-05/0.08199, allocations: 4 kB / 482.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08199, allocations: 0 / 482.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.08199, allocations: 0 / 482.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.08239, allocations: 459.7 kB / 482.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.08262, allocations: 193.8 kB / 483 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.08267, allocations: 55.34 kB / 483.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.08269, allocations: 7.438 kB / 483.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.08269, allocations: 4.125 kB / 483.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Templates: time 0.001554/0.08424, allocations: 351.8 kB / 483.4 MB, free: 9.141 MB / 350.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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] 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: 6.781190034002066]