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.001356/0.001356, allocations: 100.7 kB / 16.41 MB, free: 6.504 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.001188/0.001188, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.592/1.592, 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.06089/0.06089, allocations: 14.18 MB / 284.8 MB, free: 13.85 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.001714/0.001714, allocations: 68.38 kB / 397.1 MB, free: 43.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1117, 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.001549/0.1133, allocations: 488.8 kB / 447.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000347/0.1136, allocations: 115.7 kB / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.1137, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1137, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.114, allocations: 23.86 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.114, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.114, allocations: 12 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.1141, allocations: 352 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.1141, allocations: 3.938 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1143, allocations: 15.97 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-06/0.1143, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-06/0.1143, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.1143, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.113e-05/0.1143, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.664e-05/0.1144, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1144, allocations: 4 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1144, allocations: 4 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1144, 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.0002937/0.1147, allocations: 307.6 kB / 448.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1147, allocations: 8.031 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.1148, allocations: 0.9375 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1149, allocations: 172.3 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1149, allocations: 384 / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1149, allocations: 4.375 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.115, allocations: 47.92 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1151, allocations: 192 / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1151, allocations: 7.938 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1151, allocations: 0 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.1151, allocations: 0 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.1155, allocations: 471.5 kB / 448.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.1156, allocations: 177.1 kB / 449.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.1156, allocations: 80.14 kB / 449.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1157, allocations: 75.28 kB / 449.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.1157, allocations: 109.8 kB / 449.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1157, allocations: 0 / 449.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.227e-05/0.1158, allocations: 37.62 kB / 449.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.1159, allocations: 130.7 kB / 449.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.116, allocations: 93.86 kB / 449.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.116, allocations: 25.7 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.1161, allocations: 92.03 kB / 449.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.1161, allocations: 0 / 449.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.1161, allocations: 13.72 kB / 449.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1162, allocations: 323 kB / 450.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.1163, allocations: 0 / 450.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.1163, allocations: 9.719 kB / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.1163, allocations: 17.66 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1163, allocations: 3.938 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.1164, allocations: 41.77 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1165, allocations: 8 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1165, allocations: 0 / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1165, allocations: 3.984 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.1166, allocations: 7.938 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1166, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.1166, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1166, allocations: 4 kB / 450.1 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 0.0001001/0.1167, allocations: 189 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.1168, allocations: 109 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.1168, allocations: 120 kB / 450.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.49e-05/0.1169, allocations: 180.2 kB / 450.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.202e-05/0.117, allocations: 176.3 kB / 450.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-05/0.1171, allocations: 180.2 kB / 451.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.1173, allocations: 413.2 kB / 451.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.852e-05/0.1174, allocations: 108.9 kB / 451.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1174, allocations: 101 kB / 451.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.428e-05/0.1175, allocations: 180.3 kB / 451.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.1176, allocations: 180.2 kB / 452 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-05/0.1176, allocations: 180.3 kB / 452.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-05/0.1177, allocations: 192.2 kB / 452.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.1183, allocations: 1.067 MB / 453.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.1184, allocations: 190 kB / 453.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.1185, allocations: 188.2 kB / 453.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1186, allocations: 105 kB / 453.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.1187, allocations: 180.2 kB / 454.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.1187, allocations: 105 kB / 454.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.1188, allocations: 75.28 kB / 454.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1188, allocations: 8.031 kB / 454.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1191, allocations: 0 / 454.3 MB, free: 6.145 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.0001067/0.1192, allocations: 166.5 kB / 454.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.974e-05/0.1193, allocations: 11.94 kB / 454.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1193, allocations: 0 / 454.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1193, allocations: 0 / 454.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1197, allocations: 464.7 kB / 454.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.12, allocations: 156.2 kB / 455.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1203, allocations: 0.669 MB / 455.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.1203, allocations: 4 kB / 455.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.1203, allocations: 7.438 kB / 455.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1203, allocations: 0 / 455.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of Templates: time 0.001823/0.1221, allocations: 177.1 kB / 455.9 MB, free: 4.441 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