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.001019/0.001019, allocations: 88.22 kB / 19.65 MB, free: 272 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.001007/0.001007, allocations: 173 kB / 23.02 MB, free: 1.543 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.9389/0.9389, allocations: 158.6 MB / 184.9 MB, free: 2.914 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.04116/0.04116, allocations: 10.65 MB / 247.9 MB, free: 4.453 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.383e-06/1.383e-06, allocations: 0 / 317 MB, free: 41.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.468e-05, allocations: 3.406 kB / 317 MB, free: 41.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001157/0.001182, allocations: 0.4903 MB / 317.5 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000288/0.00147, allocations: 119.6 kB / 317.6 MB, free: 41.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.001497, allocations: 0 / 317.6 MB, free: 41.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.001516, allocations: 0 / 317.6 MB, free: 41.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.001797, allocations: 31.78 kB / 317.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.055e-06/0.0018, allocations: 0 / 317.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.869e-05/0.001838, allocations: 0 / 317.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.00188, allocations: 0 / 317.6 MB, free: 41.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.001904, allocations: 4 kB / 317.6 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.002028, allocations: 11.98 kB / 317.7 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-06/0.002034, allocations: 0 / 317.7 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-06/0.00204, allocations: 0 / 317.7 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.00205, allocations: 4 kB / 317.7 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.002063, allocations: 0 / 317.7 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.301e-05/0.002106, allocations: 0 / 317.7 MB, free: 41.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.002109, allocations: 0 / 317.7 MB, free: 41.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.002109, allocations: 3.938 kB / 317.7 MB, free: 41.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.002114, allocations: 0 / 317.7 MB, free: 41.38 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.0002165/0.002331, allocations: 340.4 kB / 318 MB, free: 41.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.002379, allocations: 16.03 kB / 318 MB, free: 41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.002418, allocations: 3.344 kB / 318 MB, free: 41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.348e-05/0.002472, allocations: 112.6 kB / 318.1 MB, free: 40.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.002485, allocations: 384 / 318.1 MB, free: 40.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.002498, allocations: 4.375 kB / 318.1 MB, free: 40.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.002601, allocations: 49.64 kB / 318.2 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.002612, allocations: 4.172 kB / 318.2 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.002622, allocations: 384 / 318.2 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.002631, allocations: 384 / 318.2 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.00265, allocations: 15.88 kB / 318.2 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.002909, allocations: 0.587 MB / 318.8 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.66e-05/0.002966, allocations: 265.5 kB / 319 MB, free: 39.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.002992, allocations: 130.8 kB / 319.2 MB, free: 39.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.003007, allocations: 119.2 kB / 319.3 MB, free: 39.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.003034, allocations: 156.6 kB / 319.4 MB, free: 39.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.003035, allocations: 0 / 319.4 MB, free: 39.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.933e-05/0.003094, allocations: 33.64 kB / 319.5 MB, free: 39.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.003137, allocations: 174.6 kB / 319.6 MB, free: 39.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.003206, allocations: 157.9 kB / 319.8 MB, free: 39.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-06/0.003211, allocations: 29.83 kB / 319.8 MB, free: 39.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.003246, allocations: 135.2 kB / 320 MB, free: 38.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.003249, allocations: 0 / 320 MB, free: 38.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.003273, allocations: 19.38 kB / 320 MB, free: 38.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.003331, allocations: 492.1 kB / 320.5 MB, free: 38.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.003342, allocations: 7.922 kB / 320.5 MB, free: 38.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.003355, allocations: 19.38 kB / 320.5 MB, free: 38.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.003393, allocations: 23.38 kB / 320.5 MB, free: 38.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.003395, allocations: 0 / 320.5 MB, free: 38.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.681e-05/0.003492, allocations: 41.7 kB / 320.6 MB, free: 38.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.003505, allocations: 7.938 kB / 320.6 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.003511, allocations: 5.016 kB / 320.6 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.003527, allocations: 0 / 320.6 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.003582, allocations: 7.984 kB / 320.6 MB, free: 38.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.003589, allocations: 3.938 kB / 320.6 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.003601, allocations: 3.953 kB / 320.6 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.003607, allocations: 0 / 320.6 MB, free: 38.23 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 5.987e-05/0.003667, allocations: 279.8 kB / 320.9 MB, free: 37.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.003694, allocations: 152.9 kB / 321 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.003735, allocations: 156 kB / 321.2 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/0.003766, allocations: 276.1 kB / 321.4 MB, free: 37.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-05/0.0038, allocations: 264.1 kB / 321.7 MB, free: 37.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/0.003836, allocations: 272.1 kB / 322 MB, free: 36.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.003946, allocations: 499.8 kB / 322.4 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.003968, allocations: 152.9 kB / 322.6 MB, free: 36.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.00399, allocations: 148.8 kB / 322.7 MB, free: 35.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.425e-05/0.004024, allocations: 264.1 kB / 323 MB, free: 35.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.004073, allocations: 272.1 kB / 323.3 MB, free: 35.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.804e-05/0.004111, allocations: 272 kB / 323.5 MB, free: 35.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.117e-05/0.004142, allocations: 268.1 kB / 323.8 MB, free: 34.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.103e-05/0.004223, allocations: 444 kB / 324.2 MB, free: 34.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.00425, allocations: 152.9 kB / 324.4 MB, free: 34.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.004297, allocations: 268 kB / 324.6 MB, free: 34.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.004337, allocations: 156.8 kB / 324.8 MB, free: 33.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.004378, allocations: 268 kB / 325 MB, free: 33.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.004397, allocations: 144.9 kB / 325.2 MB, free: 33.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.004425, allocations: 123.2 kB / 325.3 MB, free: 33.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004425, allocations: 0 / 325.3 MB, free: 33.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.004562, allocations: 0 / 325.3 MB, free: 33.31 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 8.031e-05/0.004642, allocations: 214.5 kB / 325.5 MB, free: 33.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.046e-05/0.004723, allocations: 23.61 kB / 325.5 MB, free: 33.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.004725, allocations: 0 / 325.5 MB, free: 33.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.004726, allocations: 0 / 325.5 MB, free: 33.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.004946, allocations: 0.7038 MB / 326.2 MB, free: 32.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.005157, allocations: 208.5 kB / 326.4 MB, free: 32.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.182e-05/0.005179, allocations: 51.36 kB / 326.5 MB, free: 32.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.005199, allocations: 4.125 kB / 326.5 MB, free: 32.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.005221, allocations: 12.5 kB / 326.5 MB, free: 32.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.005222, allocations: 0 / 326.5 MB, free: 32.04 MB / 282.7 MB Notification: Performance of Templates: time 0.00169/0.006912, allocations: 198.4 kB / 326.7 MB, free: 31.85 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.989497487898916]