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.001298/0.001298, allocations: 104.3 kB / 19.71 MB, free: 1.914 MB / 14.72 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.001416/0.001416, allocations: 212.9 kB / 23 MB, free: 4.984 MB / 14.72 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 1.435/1.435, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.07291/0.07291, allocations: 14.39 MB / 300.5 MB, free: 7.242 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003435/0.003435, allocations: 79.89 kB / 421.9 MB, free: 38.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1258, allocations: 52.89 MB / 474.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002384/0.1282, allocations: 495.9 kB / 475.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.1287, allocations: 116.1 kB / 475.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1287, allocations: 3.938 kB / 475.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.1288, allocations: 0 / 475.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1291, allocations: 27.89 kB / 475.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.1291, allocations: 0 / 475.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.1291, allocations: 4 kB / 475.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.1292, allocations: 0 / 475.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.1292, allocations: 3.938 kB / 475.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1294, allocations: 15.97 kB / 475.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-06/0.1294, allocations: 0 / 475.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-06/0.1294, allocations: 0 / 475.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.1294, allocations: 0 / 475.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.1294, allocations: 0 / 475.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.101e-05/0.1295, allocations: 4 kB / 475.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1295, allocations: 0 / 475.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1295, allocations: 4 kB / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1295, allocations: 0 / 475.4 MB, free: 0.9531 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.0003982/0.1299, allocations: 238.4 kB / 475.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1299, allocations: 8.031 kB / 475.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.13, allocations: 12.86 kB / 475.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1301, allocations: 106.5 kB / 475.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1301, allocations: 384 / 475.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1301, allocations: 384 / 475.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1303, allocations: 39.98 kB / 475.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1303, allocations: 192 / 475.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1303, allocations: 7.938 kB / 475.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1303, allocations: 4 kB / 475.8 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.1303, allocations: 7.938 kB / 475.8 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.1308, allocations: 415.4 kB / 476.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1309, allocations: 165.1 kB / 476.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.1309, allocations: 84.08 kB / 476.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.131, allocations: 75.28 kB / 476.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.041e-05/0.1311, allocations: 117.8 kB / 476.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.1311, allocations: 0 / 476.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.174e-05/0.1311, allocations: 25.7 kB / 476.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.1312, allocations: 134.7 kB / 476.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1313, allocations: 97.81 kB / 476.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1314, allocations: 25.7 kB / 476.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.1314, allocations: 88.09 kB / 477 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.1314, allocations: 0 / 477 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.1315, allocations: 13.72 kB / 477 MB, free: 15.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1316, allocations: 314.8 kB / 477.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.1316, allocations: 3.984 kB / 477.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.1317, allocations: 17.66 kB / 477.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.1317, allocations: 25.84 kB / 477.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1317, allocations: 0 / 477.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001307/0.1318, allocations: 41.58 kB / 477.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1319, allocations: 4 kB / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1319, allocations: 0 / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1319, allocations: 4 kB / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.132, allocations: 3.984 kB / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.132, allocations: 0 / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.132, allocations: 4 kB / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.132, allocations: 8.062 kB / 477.5 MB, free: 14.7 MB / 350.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.000144/0.1321, allocations: 189.1 kB / 477.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.1322, allocations: 108.9 kB / 477.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.655e-05/0.1323, allocations: 108.1 kB / 477.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-05/0.1324, allocations: 184.2 kB / 478 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.901e-05/0.1325, allocations: 180.2 kB / 478.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.56e-05/0.1326, allocations: 180.3 kB / 478.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1329, allocations: 352.8 kB / 478.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.441e-05/0.133, allocations: 109 kB / 478.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.1331, allocations: 108.9 kB / 478.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.1332, allocations: 184.2 kB / 479.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.1333, allocations: 180.3 kB / 479.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00011/0.1334, allocations: 184.2 kB / 479.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002066/0.1336, allocations: 176.3 kB / 479.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.1344, allocations: 1.071 MB / 480.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.1345, allocations: 108.9 kB / 480.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1346, allocations: 180.3 kB / 481 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1347, allocations: 108.9 kB / 481.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.1348, allocations: 184.2 kB / 481.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/0.1349, allocations: 101 kB / 481.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.744e-05/0.1349, allocations: 83.28 kB / 481.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.135, allocations: 0 / 481.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.1353, allocations: 7.938 kB / 481.5 MB, free: 10.45 MB / 350.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.0001643/0.1355, allocations: 166.5 kB / 481.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.1356, allocations: 4 kB / 481.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1356, allocations: 0 / 481.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.1356, allocations: 0 / 481.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.1361, allocations: 459.7 kB / 482.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.1363, allocations: 168.1 kB / 482.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.211e-05/0.1364, allocations: 59.58 kB / 482.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.1364, allocations: 3.938 kB / 482.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.1365, allocations: 11.42 kB / 482.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1365, allocations: 0 / 482.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of Templates: time 0.00248/0.139, allocations: 169.2 kB / 482.5 MB, free: 9.363 MB / 350.1 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.738471087068319]