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.00164/0.00164, allocations: 104.3 kB / 20.49 MB, free: 1.379 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.002052/0.002052, allocations: 214.5 kB / 23.78 MB, free: 4.547 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.529/1.529, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.06912/0.06912, allocations: 14.4 MB / 301.3 MB, free: 7.262 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.002139/0.002139, allocations: 64.38 kB / 422.6 MB, free: 38.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09676, allocations: 52.9 MB / 475.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001832/0.09859, allocations: 485 kB / 476 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003813/0.09897, allocations: 112.1 kB / 476.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.099, allocations: 4 kB / 476.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.09902, allocations: 0 / 476.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.09935, allocations: 23.91 kB / 476.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.378e-06/0.09935, allocations: 0 / 476.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.433e-05/0.09939, allocations: 0 / 476.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.669e-05/0.09944, allocations: 4 kB / 476.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.09946, allocations: 7.875 kB / 476.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.09959, allocations: 19.92 kB / 476.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.09959, allocations: 0 / 476.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-06/0.0996, allocations: 0 / 476.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.09961, allocations: 0 / 476.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.09962, allocations: 0 / 476.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.945e-05/0.09967, allocations: 3.984 kB / 476.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.09968, allocations: 4 kB / 476.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09968, allocations: 0 / 476.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.09969, allocations: 0 / 476.2 MB, free: 0.9766 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.0003127/0.1, allocations: 242.4 kB / 476.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1, allocations: 12.03 kB / 476.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.1001, allocations: 0.9375 kB / 476.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1002, allocations: 102.5 kB / 476.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1002, allocations: 4.375 kB / 476.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1002, allocations: 384 / 476.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1003, allocations: 47.97 kB / 476.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1003, allocations: 4.125 kB / 476.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1003, allocations: 3.938 kB / 476.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1004, allocations: 4 kB / 476.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.1004, allocations: 4 kB / 476.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1008, allocations: 415.3 kB / 477 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1009, allocations: 177.1 kB / 477.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.101, allocations: 86.31 kB / 477.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.101, allocations: 75.28 kB / 477.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.1011, allocations: 105.8 kB / 477.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1011, allocations: 0 / 477.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.478e-05/0.1012, allocations: 29.7 kB / 477.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.1012, allocations: 130.6 kB / 477.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.1013, allocations: 101.8 kB / 477.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1013, allocations: 25.7 kB / 477.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.1014, allocations: 88.22 kB / 477.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.1014, allocations: 0 / 477.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1015, allocations: 17.67 kB / 477.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1016, allocations: 310.8 kB / 478.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.1016, allocations: 4 kB / 478.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.1016, allocations: 13.72 kB / 478.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.1017, allocations: 13.72 kB / 478.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1017, allocations: 0 / 478.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/0.1018, allocations: 53.62 kB / 478.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1018, allocations: 9.25 kB / 478.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1018, allocations: 0 / 478.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1018, allocations: 0 / 478.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.1019, allocations: 7.938 kB / 478.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1019, allocations: 3.984 kB / 478.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.1019, allocations: 0 / 478.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1019, allocations: 7.938 kB / 478.2 MB, free: 14.72 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.0001154/0.102, allocations: 189 kB / 478.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.1021, allocations: 104.9 kB / 478.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.1022, allocations: 116.2 kB / 478.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.514e-05/0.1023, allocations: 180.2 kB / 478.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-05/0.1024, allocations: 176.3 kB / 479 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.13e-05/0.1025, allocations: 192.2 kB / 479.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1027, allocations: 344.9 kB / 479.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.529e-05/0.1027, allocations: 113 kB / 479.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.1028, allocations: 108.9 kB / 479.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.422e-05/0.1029, allocations: 180.2 kB / 479.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.103, allocations: 184.2 kB / 480.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.013e-05/0.103, allocations: 176.3 kB / 480.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.565e-05/0.1031, allocations: 176.3 kB / 480.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.1037, allocations: 1.079 MB / 481.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.1038, allocations: 105 kB / 481.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.1039, allocations: 184.2 kB / 481.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.104, allocations: 105 kB / 481.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.1041, allocations: 192.2 kB / 482.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.1041, allocations: 104.9 kB / 482.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.1042, allocations: 75.28 kB / 482.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1042, allocations: 0 / 482.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.1045, allocations: 4 kB / 482.3 MB, free: 10.46 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.0001335/0.1047, allocations: 170.6 kB / 482.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.733e-05/0.1047, allocations: 4 kB / 482.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1047, allocations: 3.938 kB / 482.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.1048, allocations: 4 kB / 482.4 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.0004098/0.1052, allocations: 459.7 kB / 482.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.1054, allocations: 160.1 kB / 483 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.221e-05/0.1055, allocations: 59.34 kB / 483.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.67e-05/0.1055, allocations: 0 / 483.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.1055, allocations: 7.562 kB / 483.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1055, allocations: 4 kB / 483.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of Templates: time 0.002411/0.1079, allocations: 181.1 kB / 483.3 MB, free: 9.371 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.866707356995903]