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.001831/0.001831, allocations: 93.47 kB / 19.44 MB, free: 336 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.00203/0.00203, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.313/1.313, allocations: 158.6 MB / 184.6 MB, free: 2.898 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.07395/0.07395, allocations: 10.65 MB / 247.5 MB, free: 4.535 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.833e-06/1.833e-06, allocations: 0 / 316.3 MB, free: 42.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.837e-05, allocations: 2.312 kB / 316.3 MB, free: 42.28 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001863/0.001892, allocations: 0.49 MB / 316.8 MB, free: 41.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.002244, allocations: 115.8 kB / 316.9 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.002274, allocations: 0 / 316.9 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.002287, allocations: 0 / 316.9 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.002597, allocations: 22.88 kB / 316.9 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.002601, allocations: 4 kB / 316.9 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.477e-05/0.002636, allocations: 4.688 kB / 316.9 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.002677, allocations: 0 / 316.9 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.002704, allocations: 4.656 kB / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.002847, allocations: 13.91 kB / 316.9 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-06/0.002853, allocations: 0 / 316.9 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-06/0.002856, allocations: 4 kB / 316.9 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.002863, allocations: 0 / 316.9 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.109e-05/0.002874, allocations: 0 / 316.9 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.938e-05/0.002914, allocations: 3.938 kB / 316.9 MB, free: 41.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002916, allocations: 4 kB / 316.9 MB, free: 41.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002916, allocations: 0 / 316.9 MB, free: 41.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.002921, allocations: 0.7969 kB / 316.9 MB, free: 41.71 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.0002314/0.003152, allocations: 337.4 kB / 317.3 MB, free: 41.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.003196, allocations: 12.69 kB / 317.3 MB, free: 41.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.003234, allocations: 4.875 kB / 317.3 MB, free: 41.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.156e-05/0.003286, allocations: 105.2 kB / 317.4 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.003298, allocations: 1.25 kB / 317.4 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.003309, allocations: 9.078 kB / 317.4 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.003405, allocations: 46.2 kB / 317.5 MB, free: 41.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.003415, allocations: 4.891 kB / 317.5 MB, free: 41.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.003425, allocations: 384 / 317.5 MB, free: 41.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.00343, allocations: 384 / 317.5 MB, free: 41.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.003456, allocations: 12.44 kB / 317.5 MB, free: 41.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.003753, allocations: 0.5856 MB / 318.1 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.003822, allocations: 273.4 kB / 318.3 MB, free: 40.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.003846, allocations: 126.9 kB / 318.4 MB, free: 40.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.003868, allocations: 119.8 kB / 318.6 MB, free: 39.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.003898, allocations: 157.9 kB / 318.7 MB, free: 39.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.003899, allocations: 0 / 318.7 MB, free: 39.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 8.085e-05/0.003979, allocations: 39.19 kB / 318.8 MB, free: 39.76 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.004016, allocations: 170.6 kB / 318.9 MB, free: 39.58 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.004091, allocations: 159.4 kB / 319.1 MB, free: 39.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-06/0.004096, allocations: 25.7 kB / 319.1 MB, free: 39.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.004127, allocations: 135.6 kB / 319.2 MB, free: 39.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.00413, allocations: 3.938 kB / 319.2 MB, free: 39.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.004166, allocations: 19.94 kB / 319.3 MB, free: 39.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.004228, allocations: 492.7 kB / 319.7 MB, free: 38.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.00424, allocations: 4.75 kB / 319.7 MB, free: 38.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.004254, allocations: 20.12 kB / 319.8 MB, free: 38.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.004285, allocations: 23.56 kB / 319.8 MB, free: 38.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004287, allocations: 0 / 319.8 MB, free: 38.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.004406, allocations: 43.8 kB / 319.8 MB, free: 38.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.004422, allocations: 11.94 kB / 319.8 MB, free: 38.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.004429, allocations: 2.75 kB / 319.8 MB, free: 38.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.004443, allocations: 0 / 319.8 MB, free: 38.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.004498, allocations: 4.516 kB / 319.8 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.004504, allocations: 0 / 319.8 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.004524, allocations: 8.625 kB / 319.9 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.00453, allocations: 4 kB / 319.9 MB, free: 38.58 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 6.545e-05/0.004595, allocations: 272.4 kB / 320.1 MB, free: 38.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.004648, allocations: 153.5 kB / 320.3 MB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.004683, allocations: 161.3 kB / 320.4 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/0.004723, allocations: 272.8 kB / 320.7 MB, free: 37.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-05/0.004763, allocations: 268.8 kB / 321 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/0.004802, allocations: 264.8 kB / 321.2 MB, free: 37.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.004979, allocations: 0.4936 MB / 321.7 MB, free: 36.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/0.005001, allocations: 145.6 kB / 321.9 MB, free: 36.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.005024, allocations: 153.4 kB / 322 MB, free: 36.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.831e-05/0.005062, allocations: 268.8 kB / 322.3 MB, free: 36.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.005101, allocations: 268.7 kB / 322.5 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.926e-05/0.00514, allocations: 273.1 kB / 322.8 MB, free: 35.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.006e-05/0.00518, allocations: 268.6 kB / 323.1 MB, free: 35.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/0.005274, allocations: 446.1 kB / 323.5 MB, free: 34.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.005302, allocations: 149.6 kB / 323.6 MB, free: 34.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.00535, allocations: 272.2 kB / 323.9 MB, free: 34.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.005442, allocations: 148.8 kB / 324.1 MB, free: 34.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.005487, allocations: 272 kB / 324.3 MB, free: 33.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.005508, allocations: 148.9 kB / 324.5 MB, free: 33.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.56e-05/0.005534, allocations: 123.2 kB / 324.6 MB, free: 33.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.005534, allocations: 0 / 324.6 MB, free: 33.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.005891, allocations: 0 / 324.6 MB, free: 33.67 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 7.647e-05/0.005967, allocations: 214.4 kB / 324.8 MB, free: 33.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.038e-05/0.006038, allocations: 15.62 kB / 324.8 MB, free: 33.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.006039, allocations: 0 / 324.8 MB, free: 33.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.006041, allocations: 0 / 324.8 MB, free: 33.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.006447, allocations: 0.7076 MB / 325.5 MB, free: 32.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.00662, allocations: 211.8 kB / 325.7 MB, free: 32.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.006656, allocations: 55.34 kB / 325.8 MB, free: 32.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.006671, allocations: 0 / 325.8 MB, free: 32.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.006692, allocations: 12.5 kB / 325.8 MB, free: 32.41 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006692, allocations: 0 / 325.8 MB, free: 32.41 MB / 282.7 MB Notification: Performance of Templates: time 0.002903/0.009595, allocations: 195.2 kB / 326 MB, free: 32.22 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_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.432662290055305]