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.001672/0.001672, allocations: 101 kB / 20.48 MB, free: 1.488 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.002401/0.002401, allocations: 217.4 kB / 23.8 MB, free: 4.699 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.579/1.579, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.07821/0.07821, allocations: 14.39 MB / 301.2 MB, free: 7.449 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.002194/0.002194, allocations: 67.89 kB / 422.7 MB, free: 38.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1139, allocations: 52.9 MB / 475.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002318/0.1162, allocations: 489 kB / 476 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004354/0.1166, allocations: 120.1 kB / 476.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.1166, allocations: 4 kB / 476.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.1167, allocations: 0 / 476.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.117, allocations: 19.92 kB / 476.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.059e-06/0.117, allocations: 0 / 476.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.866e-05/0.1171, allocations: 7.875 kB / 476.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.1171, allocations: 7.984 kB / 476.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.1171, allocations: 0 / 476.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1173, allocations: 12 kB / 476.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-06/0.1173, allocations: 0 / 476.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-06/0.1173, allocations: 0 / 476.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.1173, allocations: 3.984 kB / 476.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.1173, allocations: 0 / 476.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.674e-05/0.1174, allocations: 3.938 kB / 476.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1174, allocations: 0 / 476.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1174, allocations: 0 / 476.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1174, allocations: 0 / 476.2 MB, free: 1.16 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.0003475/0.1177, allocations: 250.3 kB / 476.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1178, allocations: 12.03 kB / 476.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.1178, allocations: 0.9375 kB / 476.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.866e-05/0.1179, allocations: 102.5 kB / 476.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1179, allocations: 384 / 476.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1179, allocations: 4.375 kB / 476.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1181, allocations: 47.92 kB / 476.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1181, allocations: 192 / 476.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1181, allocations: 15.92 kB / 476.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1181, allocations: 0 / 476.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.1181, allocations: 0 / 476.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1186, allocations: 430.7 kB / 477.1 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1187, allocations: 181.1 kB / 477.2 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.1188, allocations: 86.41 kB / 477.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.1188, allocations: 75.28 kB / 477.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/0.1189, allocations: 105.8 kB / 477.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1189, allocations: 0 / 477.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.341e-05/0.119, allocations: 33.62 kB / 477.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.119, allocations: 130.7 kB / 477.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1192, allocations: 97.86 kB / 477.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1192, allocations: 25.7 kB / 477.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.1192, allocations: 92.08 kB / 477.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.1192, allocations: 0 / 477.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1193, allocations: 13.67 kB / 477.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1194, allocations: 314.8 kB / 478.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.1195, allocations: 0 / 478.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.1195, allocations: 21.84 kB / 478.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.1195, allocations: 13.66 kB / 478.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1195, allocations: 3.938 kB / 478.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.1196, allocations: 45.69 kB / 478.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1197, allocations: 6.5 kB / 478.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1197, allocations: 0 / 478.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1197, allocations: 4.062 kB / 478.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.1197, allocations: 8 kB / 478.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1197, allocations: 3.938 kB / 478.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.1198, allocations: 0 / 478.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1198, allocations: 4 kB / 478.3 MB, free: 14.87 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.0001279/0.1199, allocations: 185.1 kB / 478.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.12, allocations: 105 kB / 478.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.12, allocations: 112.1 kB / 478.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-05/0.1201, allocations: 184.3 kB / 478.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.239e-05/0.1202, allocations: 176.3 kB / 479 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.866e-05/0.1203, allocations: 184.1 kB / 479.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.1206, allocations: 376.2 kB / 479.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.918e-05/0.1207, allocations: 113 kB / 479.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.1207, allocations: 105 kB / 479.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.877e-05/0.1208, allocations: 180.3 kB / 480 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.1209, allocations: 184.2 kB / 480.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.766e-05/0.121, allocations: 176.3 kB / 480.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-05/0.1211, allocations: 184.2 kB / 480.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.1218, allocations: 1.067 MB / 481.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.1219, allocations: 105 kB / 481.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.122, allocations: 192.2 kB / 481.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.1221, allocations: 109 kB / 482 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1222, allocations: 188.2 kB / 482.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.1222, allocations: 101 kB / 482.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.1223, allocations: 75.28 kB / 482.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1223, allocations: 0 / 482.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.1227, allocations: 4 kB / 482.3 MB, free: 10.58 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.0001418/0.1228, allocations: 170.6 kB / 482.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.151e-05/0.1229, allocations: 7.938 kB / 482.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1229, allocations: 0 / 482.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1229, allocations: 0 / 482.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1233, allocations: 459.7 kB / 483 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.1236, allocations: 164.3 kB / 483.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1239, allocations: 0.6768 MB / 483.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.124, allocations: 0 / 483.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.124, allocations: 7.438 kB / 483.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.124, allocations: 3.938 kB / 483.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Templates: time 0.002479/0.1265, allocations: 177 kB / 484 MB, free: 8.867 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.990051261964254]