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.00136/0.00136, allocations: 78.66 kB / 20.66 MB, free: 3.836 MB / 18.57 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.001275/0.001275, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.8997/0.8997, allocations: 158.6 MB / 186 MB, free: 2.805 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.03828/0.03828, allocations: 10.66 MB / 249 MB, free: 4.293 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_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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 318.2 MB, free: 41.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.246e-05, allocations: 2.859 kB / 318.2 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.000847/0.0008595, allocations: 0.505 MB / 318.7 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002156/0.001075, allocations: 115.6 kB / 318.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.0011, allocations: 0 / 318.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.001115, allocations: 0 / 318.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.001333, allocations: 27.86 kB / 318.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.374e-06/0.001335, allocations: 0 / 318.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.304e-05/0.001358, allocations: 0 / 318.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.001393, allocations: 7.984 kB / 318.9 MB, free: 41.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.001412, allocations: 0 / 318.9 MB, free: 41.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.001505, allocations: 8 kB / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.539e-06/0.00151, allocations: 3.938 kB / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.465e-06/0.001512, allocations: 0 / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-06/0.001519, allocations: 7.984 kB / 318.9 MB, free: 41.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.02e-05/0.001529, allocations: 0 / 318.9 MB, free: 41.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.363e-05/0.001563, allocations: 0 / 318.9 MB, free: 41.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.001565, allocations: 0 / 318.9 MB, free: 41.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001565, allocations: 0 / 318.9 MB, free: 41.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.001569, allocations: 0 / 318.9 MB, free: 41.08 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.000147/0.001716, allocations: 340.4 kB / 319.2 MB, free: 40.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.001749, allocations: 12.03 kB / 319.3 MB, free: 40.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.001768, allocations: 3.344 kB / 319.3 MB, free: 40.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.394e-05/0.001802, allocations: 104.6 kB / 319.4 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.001811, allocations: 4.375 kB / 319.4 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-06/0.001816, allocations: 4.375 kB / 319.4 MB, free: 40.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.272e-05/0.001869, allocations: 49.58 kB / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.001875, allocations: 4.172 kB / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-06/0.00188, allocations: 384 / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.001885, allocations: 384 / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-06/0.001894, allocations: 7.938 kB / 319.4 MB, free: 40.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.002044, allocations: 0.5758 MB / 320 MB, free: 39.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.002081, allocations: 265.5 kB / 320.3 MB, free: 39.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.002093, allocations: 126.9 kB / 320.4 MB, free: 39.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.002103, allocations: 123.2 kB / 320.5 MB, free: 39.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.002122, allocations: 160.6 kB / 320.7 MB, free: 39.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.002123, allocations: 4 kB / 320.7 MB, free: 39.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 3.765e-05/0.002161, allocations: 33.58 kB / 320.7 MB, free: 39.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.002182, allocations: 170.6 kB / 320.9 MB, free: 38.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.704e-05/0.002229, allocations: 157.9 kB / 321 MB, free: 38.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-06/0.002233, allocations: 25.7 kB / 321 MB, free: 38.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.002261, allocations: 131.2 kB / 321.2 MB, free: 38.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.002263, allocations: 3.938 kB / 321.2 MB, free: 38.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.002282, allocations: 27.34 kB / 321.2 MB, free: 38.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.813e-05/0.00232, allocations: 492.2 kB / 321.7 MB, free: 38.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-06/0.002324, allocations: 4 kB / 321.7 MB, free: 38.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.002333, allocations: 19.38 kB / 321.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.002356, allocations: 27.31 kB / 321.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.002358, allocations: 0 / 321.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.484e-05/0.002412, allocations: 37.69 kB / 321.8 MB, free: 37.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.002422, allocations: 4 kB / 321.8 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.002427, allocations: 4 kB / 321.8 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.002439, allocations: 8.062 kB / 321.8 MB, free: 37.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.466e-05/0.002473, allocations: 7.938 kB / 321.8 MB, free: 37.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.002476, allocations: 0 / 321.8 MB, free: 37.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.002485, allocations: 3.953 kB / 321.8 MB, free: 37.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.002488, allocations: 0 / 321.8 MB, free: 37.96 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 4.244e-05/0.00253, allocations: 275.8 kB / 322.1 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.002551, allocations: 144.9 kB / 322.2 MB, free: 37.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.002576, allocations: 164 kB / 322.4 MB, free: 37.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.002596, allocations: 272.1 kB / 322.6 MB, free: 37.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.002614, allocations: 264.1 kB / 322.9 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.002635, allocations: 284 kB / 323.2 MB, free: 36.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.831e-05/0.002714, allocations: 483 kB / 323.6 MB, free: 36.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.002724, allocations: 148.8 kB / 323.8 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.002735, allocations: 148.9 kB / 323.9 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/0.002755, allocations: 264.1 kB / 324.2 MB, free: 35.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.002775, allocations: 272 kB / 324.5 MB, free: 35.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/0.002793, allocations: 268.1 kB / 324.7 MB, free: 34.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/0.002812, allocations: 272 kB / 325 MB, free: 34.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.002983, allocations: 1.618 MB / 326.6 MB, free: 32.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.003005, allocations: 148.8 kB / 326.8 MB, free: 32.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.00303, allocations: 268.1 kB / 327 MB, free: 32.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/0.00306, allocations: 148.9 kB / 327.2 MB, free: 32.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.003084, allocations: 272 kB / 327.4 MB, free: 32.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.003098, allocations: 148.9 kB / 327.6 MB, free: 31.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.776e-05/0.003115, allocations: 119.2 kB / 327.7 MB, free: 31.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003115, allocations: 0 / 327.7 MB, free: 31.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.003316, allocations: 3.938 kB / 327.7 MB, free: 31.83 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 5.987e-05/0.003376, allocations: 210.4 kB / 327.9 MB, free: 31.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.709e-05/0.003423, allocations: 23.61 kB / 327.9 MB, free: 31.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.003424, allocations: 4.219 kB / 327.9 MB, free: 31.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.003425, allocations: 0 / 327.9 MB, free: 31.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.003596, allocations: 0.7121 MB / 328.6 MB, free: 30.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001308/0.003727, allocations: 200.5 kB / 328.8 MB, free: 30.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.999e-05/0.003746, allocations: 55.36 kB / 328.9 MB, free: 30.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.767e-05/0.003764, allocations: 0 / 328.9 MB, free: 30.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.003785, allocations: 66.2 kB / 328.9 MB, free: 30.5 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.003786, allocations: 3.938 kB / 329 MB, free: 30.5 MB / 282.7 MB Notification: Performance of Templates: time 0.001201/0.004987, allocations: 221.1 kB / 329.2 MB, free: 30.29 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.644438387826085]