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.001335/0.001335, allocations: 101.2 kB / 20.45 MB, free: 1.5 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.001532/0.001532, allocations: 218.2 kB / 23.76 MB, free: 4.68 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.387/1.387, allocations: 207.6 MB / 234.5 MB, free: 10.01 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.07672/0.07672, allocations: 14.38 MB / 301.2 MB, free: 7.449 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.002327/0.002327, allocations: 67.91 kB / 422.6 MB, free: 38.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.0828, allocations: 52.9 MB / 475.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002109/0.08491, allocations: 496.3 kB / 476 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.08526, allocations: 120.1 kB / 476.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.08529, allocations: 4 kB / 476.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.08532, allocations: 3.938 kB / 476.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.08561, allocations: 23.91 kB / 476.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.08562, allocations: 0 / 476.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.413e-05/0.08565, allocations: 3.938 kB / 476.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.0857, allocations: 4 kB / 476.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.073e-05/0.08571, allocations: 0 / 476.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.08582, allocations: 11.98 kB / 476.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-06/0.08582, allocations: 0 / 476.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-06/0.08583, allocations: 4 kB / 476.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.08584, allocations: 3.984 kB / 476.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.08585, allocations: 0 / 476.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.77e-05/0.08588, allocations: 3.938 kB / 476.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.08589, allocations: 0 / 476.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.08589, allocations: 0 / 476.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.08589, allocations: 0 / 476.2 MB, free: 1.16 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.000294/0.08619, allocations: 238.4 kB / 476.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.08623, allocations: 16.03 kB / 476.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.08626, allocations: 8.875 kB / 476.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.08636, allocations: 106.5 kB / 476.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.08637, allocations: 384 / 476.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.08638, allocations: 384 / 476.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.08649, allocations: 47.92 kB / 476.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.08649, allocations: 192 / 476.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.0865, allocations: 3.938 kB / 476.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.08651, allocations: 8 kB / 476.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.08653, allocations: 0 / 476.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.08692, allocations: 434.7 kB / 477 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.08703, allocations: 177.1 kB / 477.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.08709, allocations: 84.14 kB / 477.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.08713, allocations: 79.27 kB / 477.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.991e-05/0.0872, allocations: 105.8 kB / 477.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.0872, allocations: 0 / 477.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.516e-05/0.08727, allocations: 29.64 kB / 477.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.08735, allocations: 130.7 kB / 477.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.08746, allocations: 101.8 kB / 477.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.08748, allocations: 25.7 kB / 477.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.08753, allocations: 88.09 kB / 477.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.08754, allocations: 0 / 477.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.08757, allocations: 13.67 kB / 477.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.08774, allocations: 314.8 kB / 478.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.08775, allocations: 0 / 478.2 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.08778, allocations: 21.83 kB / 478.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.08781, allocations: 17.66 kB / 478.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.08782, allocations: 3.938 kB / 478.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.08793, allocations: 37.7 kB / 478.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.08794, allocations: 8 kB / 478.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.08795, allocations: 3.938 kB / 478.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.08796, allocations: 3.938 kB / 478.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.08802, allocations: 12.11 kB / 478.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.08803, allocations: 0 / 478.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.08804, allocations: 0 / 478.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.08805, allocations: 4 kB / 478.3 MB, free: 14.87 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.0001264/0.08818, allocations: 185.1 kB / 478.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.08825, allocations: 101 kB / 478.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.08832, allocations: 112.1 kB / 478.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.372e-05/0.08841, allocations: 188.2 kB / 478.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/0.0885, allocations: 176.3 kB / 479 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.399e-05/0.08858, allocations: 180.2 kB / 479.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.08885, allocations: 372.2 kB / 479.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.847e-05/0.08892, allocations: 120.9 kB / 479.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.08897, allocations: 101 kB / 479.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.953e-05/0.08906, allocations: 188.2 kB / 479.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.08915, allocations: 176.3 kB / 480.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.774e-05/0.08925, allocations: 176.3 kB / 480.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.562e-05/0.08934, allocations: 180.2 kB / 480.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.08995, allocations: 1.079 MB / 481.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.09, allocations: 108.9 kB / 481.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.0901, allocations: 180.2 kB / 481.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.0902, allocations: 109 kB / 481.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.09029, allocations: 192.2 kB / 482.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.09034, allocations: 101 kB / 482.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.444e-05/0.09039, allocations: 75.28 kB / 482.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09039, allocations: 0 / 482.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.09075, allocations: 4 kB / 482.3 MB, free: 10.58 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.0001358/0.09089, allocations: 166.6 kB / 482.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.333e-05/0.09096, allocations: 7.938 kB / 482.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.09096, allocations: 0 / 482.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.09097, allocations: 0 / 482.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.0914, allocations: 463.7 kB / 482.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.09165, allocations: 190 kB / 483.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.09199, allocations: 0.6729 MB / 483.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.09201, allocations: 7.438 kB / 483.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.09201, allocations: 0 / 483.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Templates: time 0.001711/0.09372, allocations: 347.8 kB / 484.1 MB, free: 8.672 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.761411501094699]