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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 111.1 kB / 16.42 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 189.9 kB / 17.35 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06345/0.06345, allocations: 14.16 MB / 284.7 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 66.62 kB / 397.1 MB, free: 43.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06773/0.06917, allocations: 50.14 MB / 447.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001587/0.07079, allocations: 486.2 kB / 447.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.07113, allocations: 111.7 kB / 447.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.07117, allocations: 7.938 kB / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.07121, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.07149, allocations: 19.92 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.0715, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.334e-05/0.07154, allocations: 4 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.0716, allocations: 4.281 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.07162, allocations: 3.938 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.07174, allocations: 19.97 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-06/0.07175, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-06/0.07176, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.07178, allocations: 4 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.132e-05/0.07179, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.574e-05/0.07183, allocations: 4 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.07184, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07185, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.07186, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 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.00027/0.07213, allocations: 315.5 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.07218, allocations: 8.031 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.07221, allocations: 4.875 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/0.0723, allocations: 164.4 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.07232, allocations: 4.375 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.07234, allocations: 4.375 kB / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/0.07244, allocations: 47.92 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.07245, allocations: 192 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.07247, allocations: 7.938 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.07248, allocations: 0 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.0725, allocations: 0 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.07283, allocations: 463.7 kB / 448.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.105e-05/0.07292, allocations: 181.1 kB / 449.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.07295, allocations: 80.14 kB / 449.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.07298, allocations: 75.28 kB / 449.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.07304, allocations: 113.8 kB / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.07305, allocations: 0 / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.955e-05/0.07312, allocations: 25.7 kB / 449.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.07316, allocations: 59.34 kB / 449.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.07324, allocations: 93.86 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.07326, allocations: 25.7 kB / 449.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.0733, allocations: 94.14 kB / 449.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.07331, allocations: 4.125 kB / 449.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.07335, allocations: 17.66 kB / 449.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.07347, allocations: 310.8 kB / 450 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.07349, allocations: 8 kB / 450 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.07351, allocations: 13.66 kB / 450 MB, free: 10.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.07354, allocations: 17.78 kB / 450 MB, free: 10.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.07355, allocations: 0 / 450 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.07366, allocations: 49.56 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.07368, allocations: 8 kB / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.07369, allocations: 0 / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.07371, allocations: 0 / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.07376, allocations: 4 kB / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.07378, allocations: 3.984 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.0738, allocations: 0 / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.07381, allocations: 4 kB / 450.1 MB, free: 10.64 MB / 334.1 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 9.337e-05/0.07391, allocations: 197 kB / 450.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.07397, allocations: 104.9 kB / 450.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.07404, allocations: 120.1 kB / 450.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/0.0741, allocations: 180.2 kB / 450.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/0.07414, allocations: 101 kB / 450.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.07422, allocations: 178.1 kB / 450.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.0743, allocations: 192.2 kB / 451.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.07437, allocations: 101 kB / 451.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.07444, allocations: 184.1 kB / 451.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.416e-05/0.07453, allocations: 255.5 kB / 451.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001561/0.0747, allocations: 387.1 kB / 452 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.995e-05/0.07474, allocations: 105 kB / 452.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.13e-05/0.07479, allocations: 83.22 kB / 452.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of Backend: time 4.3e-07/0.0748, allocations: 0 / 452.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.07509, allocations: 74.41 kB / 452.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004085/0.07551, allocations: 0.8351 MB / 453.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of Templates: time 0.001844/0.07737, allocations: 189.4 kB / 453.3 MB, free: 7.227 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (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=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches