Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.00111/0.00111, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001294/0.001294, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9024/0.9024, allocations: 158.6 MB / 184.9 MB, free: 2.426 MB / 170.7 MB " [Timeout remaining time 179] 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.04013/0.04013, allocations: 10.65 MB / 247.9 MB, free: 4.418 MB / 234.7 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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 317 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.007e-06/1.024e-05, allocations: 3.516 kB / 317 MB, free: 41.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.000898/0.0009082, allocations: 0.5009 MB / 317.5 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002033/0.001111, allocations: 115.6 kB / 317.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.001132, allocations: 0 / 317.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.001151, allocations: 0 / 317.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.001357, allocations: 27.86 kB / 317.6 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.534e-06/0.00136, allocations: 0 / 317.6 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.814e-05/0.001388, allocations: 0 / 317.6 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.739e-05/0.001415, allocations: 7.984 kB / 317.7 MB, free: 41.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.308e-05/0.001428, allocations: 3.984 kB / 317.7 MB, free: 41.37 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.001517, allocations: 8 kB / 317.7 MB, free: 41.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-06/0.001521, allocations: 0 / 317.7 MB, free: 41.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.214e-06/0.001523, allocations: 0 / 317.7 MB, free: 41.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-06/0.001528, allocations: 0 / 317.7 MB, free: 41.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-06/0.001536, allocations: 3.938 kB / 317.7 MB, free: 41.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 2.971e-05/0.001566, allocations: 4 kB / 317.7 MB, free: 41.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001567, allocations: 0 / 317.7 MB, free: 41.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.001568, allocations: 0 / 317.7 MB, free: 41.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.001573, allocations: 0 / 317.7 MB, free: 41.35 MB / 282.7 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.0001681/0.001741, allocations: 344.4 kB / 318 MB, free: 40.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.001778, allocations: 8.031 kB / 318 MB, free: 40.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.001809, allocations: 3.344 kB / 318 MB, free: 40.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.968e-05/0.001859, allocations: 104.6 kB / 318.1 MB, free: 40.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.001871, allocations: 8.312 kB / 318.1 MB, free: 40.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.001877, allocations: 384 / 318.1 MB, free: 40.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.108e-05/0.001958, allocations: 49.64 kB / 318.2 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.001967, allocations: 192 / 318.2 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.001975, allocations: 384 / 318.2 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.001984, allocations: 384 / 318.2 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.344e-05/0.001997, allocations: 15.92 kB / 318.2 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.002171, allocations: 0.5869 MB / 318.8 MB, free: 40.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.00221, allocations: 269.5 kB / 319 MB, free: 39.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.002222, allocations: 126.9 kB / 319.2 MB, free: 39.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.002231, allocations: 119.2 kB / 319.3 MB, free: 39.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.00225, allocations: 160.6 kB / 319.4 MB, free: 39.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.002251, allocations: 3.938 kB / 319.4 MB, free: 39.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 3.54e-05/0.002286, allocations: 33.64 kB / 319.5 MB, free: 39.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.002309, allocations: 174.6 kB / 319.6 MB, free: 39.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.075e-05/0.002349, allocations: 157.9 kB / 319.8 MB, free: 39.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-06/0.002353, allocations: 25.7 kB / 319.8 MB, free: 39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.002372, allocations: 131.2 kB / 320 MB, free: 38.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.002374, allocations: 0 / 320 MB, free: 38.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.002392, allocations: 27.36 kB / 320 MB, free: 38.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.00243, allocations: 492.1 kB / 320.5 MB, free: 38.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-06/0.002436, allocations: 4 kB / 320.5 MB, free: 38.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.002446, allocations: 19.5 kB / 320.5 MB, free: 38.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/0.002467, allocations: 27.25 kB / 320.5 MB, free: 38.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002469, allocations: 0 / 320.5 MB, free: 38.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.146e-05/0.00253, allocations: 45.62 kB / 320.6 MB, free: 38.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.00254, allocations: 11.94 kB / 320.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.002543, allocations: 0 / 320.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.002554, allocations: 0 / 320.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/0.002586, allocations: 4 kB / 320.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.00259, allocations: 2.078 kB / 320.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-06/0.002599, allocations: 7.953 kB / 320.6 MB, free: 38.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.002603, allocations: 4 kB / 320.6 MB, free: 38.2 MB / 282.7 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 3.575e-05/0.002639, allocations: 271.8 kB / 320.9 MB, free: 37.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.00266, allocations: 152.9 kB / 321 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.002682, allocations: 159.9 kB / 321.2 MB, free: 37.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.002701, allocations: 268.2 kB / 321.4 MB, free: 37.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.00272, allocations: 272 kB / 321.7 MB, free: 37.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.002741, allocations: 264.1 kB / 321.9 MB, free: 36.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.611e-05/0.002817, allocations: 0.4921 MB / 322.4 MB, free: 36.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.002828, allocations: 148.8 kB / 322.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.00284, allocations: 148.9 kB / 322.7 MB, free: 35.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/0.002861, allocations: 272 kB / 323 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.002881, allocations: 268.1 kB / 323.3 MB, free: 35.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/0.002901, allocations: 275.9 kB / 323.5 MB, free: 35.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-05/0.002927, allocations: 272.1 kB / 323.8 MB, free: 34.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.072e-05/0.002978, allocations: 440 kB / 324.2 MB, free: 34.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.002994, allocations: 148.9 kB / 324.4 MB, free: 34.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.003019, allocations: 272 kB / 324.6 MB, free: 33.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.003049, allocations: 148.8 kB / 324.8 MB, free: 33.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.003072, allocations: 268.1 kB / 325 MB, free: 33.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.003086, allocations: 156.8 kB / 325.2 MB, free: 33.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.533e-05/0.003101, allocations: 119.2 kB / 325.3 MB, free: 33.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.003101, allocations: 0 / 325.3 MB, free: 33.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001272/0.003229, allocations: 0 / 325.3 MB, free: 33.28 MB / 282.7 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 6.56e-05/0.003294, allocations: 214.4 kB / 325.5 MB, free: 33.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.322e-05/0.003358, allocations: 11.69 kB / 325.5 MB, free: 33.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.003359, allocations: 0 / 325.5 MB, free: 33.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.00336, allocations: 3.938 kB / 325.5 MB, free: 33.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.003549, allocations: 0.716 MB / 326.2 MB, free: 32.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.003702, allocations: 208.5 kB / 326.5 MB, free: 32.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.084e-05/0.003722, allocations: 55.34 kB / 326.5 MB, free: 32.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.41e-05/0.003736, allocations: 0 / 326.5 MB, free: 32.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.003753, allocations: 8.5 kB / 326.5 MB, free: 32.01 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.003754, allocations: 0 / 326.5 MB, free: 32.01 MB / 282.7 MB Notification: Performance of Templates: time 0.001467/0.005221, allocations: 198.1 kB / 326.7 MB, free: 31.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.709565168712288]