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.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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_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.001406/0.001406, allocations: 108.4 kB / 16.42 MB, free: 6.453 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.001495/0.001495, allocations: 185.5 kB / 17.35 MB, free: 5.734 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.671/1.671, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.08827/0.08827, allocations: 14.17 MB / 284.8 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.001508/0.001508, allocations: 72.3 kB / 397.1 MB, free: 43.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09669, allocations: 50.13 MB / 447.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001677/0.09841, allocations: 496.8 kB / 447.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003103/0.09874, allocations: 107.7 kB / 447.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.09878, allocations: 0 / 447.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.09881, allocations: 0 / 447.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.09908, allocations: 23.91 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.09909, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.375e-05/0.09913, allocations: 3.938 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.09918, allocations: 8.344 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.0992, allocations: 3.938 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.09937, allocations: 19.97 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-06/0.09938, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-06/0.09939, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-06/0.0994, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.09941, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.366e-05/0.09945, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09946, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09947, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.09948, allocations: 4 kB / 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.0002847/0.09977, allocations: 311.5 kB / 448.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.09981, allocations: 8.031 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.09984, allocations: 8.922 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.657e-05/0.09993, allocations: 160.4 kB / 448.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.09994, allocations: 4.312 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.09995, allocations: 384 / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.1001, allocations: 55.92 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1001, allocations: 192 / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1001, allocations: 3.938 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1001, allocations: 0 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.1001, allocations: 4 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.1004, allocations: 459.7 kB / 448.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.1005, allocations: 181 kB / 449.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.1006, allocations: 80.14 kB / 449.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1006, allocations: 75.28 kB / 449.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.1007, allocations: 113.9 kB / 449.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.1007, allocations: 0 / 449.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.037e-05/0.1007, allocations: 33.64 kB / 449.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.1008, allocations: 126.7 kB / 449.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.1009, allocations: 101.8 kB / 449.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1009, allocations: 25.7 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.101, allocations: 84.09 kB / 449.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.101, allocations: 0 / 449.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.101, allocations: 21.66 kB / 449.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1011, allocations: 319 kB / 450.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.1011, allocations: 0 / 450.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.1012, allocations: 13.72 kB / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.1012, allocations: 13.72 kB / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1012, allocations: 7.875 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.832e-05/0.1013, allocations: 41.69 kB / 450.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1014, allocations: 8.125 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1014, allocations: 4 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1014, allocations: 4 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.1015, allocations: 4 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1015, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.1015, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1015, allocations: 3.938 kB / 450.2 MB, free: 10.57 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.425e-05/0.1016, allocations: 193 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.1017, allocations: 105 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.1017, allocations: 112.1 kB / 450.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-05/0.1018, allocations: 188.1 kB / 450.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001247/0.1019, allocations: 176.3 kB / 450.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.558e-05/0.102, allocations: 180.2 kB / 451.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1023, allocations: 413.2 kB / 451.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-05/0.1023, allocations: 105 kB / 451.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.1024, allocations: 104.9 kB / 451.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-05/0.1025, allocations: 176.3 kB / 451.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.285e-05/0.1025, allocations: 180.2 kB / 452 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.162e-05/0.1026, allocations: 188.3 kB / 452.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-05/0.1027, allocations: 184.2 kB / 452.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.1032, allocations: 1.067 MB / 453.5 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.1033, allocations: 182.1 kB / 453.6 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.1033, allocations: 192.2 kB / 453.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.1034, allocations: 105 kB / 453.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.1035, allocations: 184.2 kB / 454.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/0.1036, allocations: 101 kB / 454.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.498e-05/0.1036, allocations: 79.28 kB / 454.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1036, allocations: 96 / 454.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000386/0.104, allocations: 4 kB / 454.3 MB, free: 6.156 MB / 334.1 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 0.0001195/0.1041, allocations: 166.5 kB / 454.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.1042, allocations: 11.92 kB / 454.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1042, allocations: 3.938 kB / 454.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1042, allocations: 0 / 454.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1046, allocations: 462 kB / 454.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.1048, allocations: 156.2 kB / 455.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1052, allocations: 0.669 MB / 455.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.1052, allocations: 3.984 kB / 455.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.1052, allocations: 7.438 kB / 455.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1052, allocations: 0 / 455.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Templates: time 0.001771/0.107, allocations: 181 kB / 455.9 MB, free: 4.449 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches