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.001078/0.001078, allocations: 74.66 kB / 21.44 MB, free: 3.059 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.0009784/0.0009784, allocations: 172.2 kB / 24.84 MB, free: 9.242 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.899/0.899, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.06259/0.06259, allocations: 10.65 MB / 249.8 MB, free: 4.297 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.443e-06/1.443e-06, allocations: 0 / 319 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.705e-05, allocations: 3.297 kB / 319 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001123/0.00115, allocations: 0.4962 MB / 319.5 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.001376, allocations: 119.6 kB / 319.6 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.001405, allocations: 0 / 319.6 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.001419, allocations: 4 kB / 319.6 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.001642, allocations: 23.86 kB / 319.7 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.584e-06/0.001644, allocations: 0 / 319.7 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.014e-05/0.001674, allocations: 0 / 319.7 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.001712, allocations: 0 / 319.7 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.001729, allocations: 4 kB / 319.7 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.001828, allocations: 15.91 kB / 319.7 MB, free: 41.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.001834, allocations: 4 kB / 319.7 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-06/0.001837, allocations: 4 kB / 319.7 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.001844, allocations: 0 / 319.7 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.694e-06/0.001851, allocations: 0 / 319.7 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.278e-05/0.001884, allocations: 0 / 319.7 MB, free: 41.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.001886, allocations: 0 / 319.7 MB, free: 41.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.001887, allocations: 0 / 319.7 MB, free: 41.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.001891, allocations: 0 / 319.7 MB, free: 41.09 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.0001479/0.002039, allocations: 332.4 kB / 320 MB, free: 40.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.002072, allocations: 12.03 kB / 320 MB, free: 40.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.002093, allocations: 3.344 kB / 320 MB, free: 40.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.719e-05/0.00213, allocations: 112.6 kB / 320.1 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.002139, allocations: 4.375 kB / 320.1 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-06/0.002144, allocations: 8.312 kB / 320.2 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.269e-05/0.002197, allocations: 49.62 kB / 320.2 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.002203, allocations: 192 / 320.2 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-06/0.002208, allocations: 384 / 320.2 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.002211, allocations: 384 / 320.2 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-06/0.00222, allocations: 3.938 kB / 320.2 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.002368, allocations: 0.5797 MB / 320.8 MB, free: 39.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.002405, allocations: 265.4 kB / 321 MB, free: 39.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.002419, allocations: 131.8 kB / 321.2 MB, free: 39.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.002429, allocations: 119.2 kB / 321.3 MB, free: 39.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.002448, allocations: 152.6 kB / 321.4 MB, free: 39.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.002449, allocations: 0 / 321.4 MB, free: 39.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 3.916e-05/0.002488, allocations: 37.58 kB / 321.5 MB, free: 39.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.002515, allocations: 174.5 kB / 321.6 MB, free: 38.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.497e-05/0.00256, allocations: 161.8 kB / 321.8 MB, free: 38.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-06/0.002564, allocations: 29.7 kB / 321.8 MB, free: 38.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.002592, allocations: 135.2 kB / 322 MB, free: 38.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.002594, allocations: 4.125 kB / 322 MB, free: 38.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.002614, allocations: 19.38 kB / 322 MB, free: 38.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.00265, allocations: 492.1 kB / 322.5 MB, free: 38.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-06/0.002655, allocations: 0 / 322.5 MB, free: 38.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.002664, allocations: 19.38 kB / 322.5 MB, free: 38.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.002687, allocations: 27.3 kB / 322.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.002689, allocations: 0 / 322.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.767e-05/0.002747, allocations: 41.64 kB / 322.6 MB, free: 38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.002757, allocations: 8.125 kB / 322.6 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.002762, allocations: 4 kB / 322.6 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.00277, allocations: 7.938 kB / 322.6 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.923e-05/0.00281, allocations: 0 / 322.6 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.002812, allocations: 0 / 322.6 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-06/0.002821, allocations: 7.953 kB / 322.6 MB, free: 37.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.002825, allocations: 0 / 322.6 MB, free: 37.97 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.121e-05/0.002866, allocations: 283.7 kB / 322.9 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.002892, allocations: 144.9 kB / 323 MB, free: 37.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.002914, allocations: 152 kB / 323.2 MB, free: 37.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.002935, allocations: 280.1 kB / 323.4 MB, free: 37.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.002956, allocations: 268 kB / 323.7 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.002974, allocations: 272.1 kB / 324 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.127e-05/0.003055, allocations: 484.5 kB / 324.4 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.003067, allocations: 148.8 kB / 324.6 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.003078, allocations: 144.9 kB / 324.7 MB, free: 35.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/0.003097, allocations: 276 kB / 325 MB, free: 35.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.003118, allocations: 264.1 kB / 325.2 MB, free: 35.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.955e-05/0.003137, allocations: 264.1 kB / 325.5 MB, free: 34.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.029e-05/0.003158, allocations: 276 kB / 325.8 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.003334, allocations: 1.614 MB / 327.4 MB, free: 32.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.003355, allocations: 156.8 kB / 327.5 MB, free: 32.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.00338, allocations: 272.1 kB / 327.8 MB, free: 32.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.974e-05/0.00341, allocations: 152.8 kB / 328 MB, free: 32.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.003433, allocations: 268 kB / 328.2 MB, free: 32.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.003444, allocations: 144.9 kB / 328.4 MB, free: 31.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.146e-05/0.003465, allocations: 123.2 kB / 328.5 MB, free: 31.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003465, allocations: 0 / 328.5 MB, free: 31.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.003662, allocations: 0 / 328.5 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 6.642e-05/0.003728, allocations: 218.4 kB / 328.7 MB, free: 31.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.942e-05/0.003778, allocations: 15.78 kB / 328.7 MB, free: 31.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.003779, allocations: 0 / 328.7 MB, free: 31.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.00378, allocations: 0 / 328.7 MB, free: 31.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.003952, allocations: 0.7122 MB / 329.4 MB, free: 30.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001537/0.004105, allocations: 205 kB / 329.6 MB, free: 30.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.046e-05/0.004126, allocations: 55.34 kB / 329.7 MB, free: 30.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.004146, allocations: 0 / 329.7 MB, free: 30.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.004175, allocations: 70.2 kB / 329.7 MB, free: 30.5 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.004176, allocations: 128 / 329.7 MB, free: 30.5 MB / 282.7 MB Notification: Performance of Templates: time 0.001495/0.005671, allocations: 213.2 kB / 329.9 MB, free: 30.3 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.688177327159792]