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.001184/0.001184, allocations: 108.8 kB / 16.42 MB, free: 6.031 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.001911/0.001911, allocations: 186 kB / 17.35 MB, free: 5.633 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.581/1.581, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06303/0.06303, allocations: 14.17 MB / 284.7 MB, free: 13.87 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.00292/0.00292, allocations: 68.91 kB / 397.1 MB, free: 43.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1271, allocations: 50.13 MB / 447.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002378/0.1295, allocations: 492.8 kB / 447.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.1301, allocations: 115.7 kB / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.1301, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.1302, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.1306, allocations: 23.92 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.019e-06/0.1306, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.1307, allocations: 3.938 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.1307, allocations: 8.344 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.1308, allocations: 0 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.1309, allocations: 15.92 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-06/0.1309, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-06/0.1309, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.131, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.131, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.741e-05/0.131, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.131, allocations: 3.984 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1311, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1311, 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.0003619/0.1314, allocations: 311.6 kB / 448.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1315, allocations: 8.031 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.1315, allocations: 4.938 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1317, allocations: 160.4 kB / 448.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1317, allocations: 384 / 448.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1317, allocations: 4.312 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1319, allocations: 59.91 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1319, allocations: 192 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.1319, allocations: 3.938 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1319, allocations: 0 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.132, allocations: 4 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.1325, allocations: 467.6 kB / 448.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1326, allocations: 173.1 kB / 449.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1327, allocations: 80.14 kB / 449.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.1327, allocations: 75.28 kB / 449.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.876e-05/0.1328, allocations: 113.9 kB / 449.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.1328, allocations: 0 / 449.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.448e-05/0.1329, allocations: 33.64 kB / 449.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.133, allocations: 126.7 kB / 449.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1331, allocations: 97.84 kB / 449.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1332, allocations: 29.64 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.1332, allocations: 88.05 kB / 449.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.1333, allocations: 3.984 kB / 449.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1333, allocations: 13.72 kB / 449.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1335, allocations: 315 kB / 450 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1335, allocations: 0 / 450 MB, free: 10.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.1335, allocations: 17.7 kB / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.1336, allocations: 21.66 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1336, 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.000127/0.1337, allocations: 33.7 kB / 450.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1337, allocations: 8.125 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1337, allocations: 4 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1338, allocations: 0 / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.1338, allocations: 4 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1339, allocations: 7.922 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.1339, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1339, allocations: 4 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 0.0001402/0.134, allocations: 193 kB / 450.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.1341, allocations: 105 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.1342, allocations: 104.1 kB / 450.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.965e-05/0.1343, allocations: 184.2 kB / 450.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.304e-05/0.1344, allocations: 184.2 kB / 450.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/0.1345, allocations: 184.2 kB / 451.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.1348, allocations: 401.2 kB / 451.5 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-05/0.1349, allocations: 120.9 kB / 451.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.1349, allocations: 101 kB / 451.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-05/0.135, allocations: 180.3 kB / 451.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.1351, allocations: 180.2 kB / 452 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-05/0.1352, allocations: 184.3 kB / 452.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.429e-05/0.1353, allocations: 184.2 kB / 452.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.1359, allocations: 1.075 MB / 453.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1361, allocations: 182.1 kB / 453.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.1362, allocations: 188.2 kB / 453.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.1363, allocations: 105 kB / 453.9 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.1364, allocations: 184.2 kB / 454.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.1364, allocations: 101 kB / 454.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.206e-05/0.1365, allocations: 83.28 kB / 454.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1365, allocations: 4.094 kB / 454.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1369, 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.0001318/0.137, allocations: 166.5 kB / 454.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.1371, allocations: 7.938 kB / 454.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1371, allocations: 0 / 454.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.1371, allocations: 3.938 kB / 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.0004347/0.1376, allocations: 456.8 kB / 454.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.1378, allocations: 164.2 kB / 455.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1381, allocations: 0.669 MB / 455.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.801e-05/0.1382, allocations: 0 / 455.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.1382, allocations: 7.438 kB / 455.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1382, allocations: 0 / 455.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of Templates: time 0.002191/0.1404, allocations: 176.9 kB / 455.9 MB, free: 4.445 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