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.000761/0.000761, allocations: 84.44 kB / 20.7 MB, free: 3.863 MB / 18.57 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.001148/0.001148, allocations: 169.9 kB / 23.97 MB, free: 0.5938 MB / 18.57 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 0.7857/0.7857, allocations: 158.6 MB / 185.7 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.03663/0.03663, allocations: 10.65 MB / 248.6 MB, free: 4.727 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 370.1 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.398e-05, allocations: 6.219 kB / 370.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0009988/0.001023, allocations: 0.4923 MB / 370.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002739/0.001297, allocations: 111.6 kB / 370.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.001324, allocations: 4 kB / 370.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.001341, allocations: 0 / 370.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.001603, allocations: 19.84 kB / 370.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.001607, allocations: 0 / 370.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.611e-05/0.001643, allocations: 7.938 kB / 370.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.00169, allocations: 0 / 370.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.001712, allocations: 3.938 kB / 370.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.001827, allocations: 19.98 kB / 370.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.001833, allocations: 0 / 370.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.896e-06/0.001836, allocations: 0 / 370.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.001843, allocations: 0 / 370.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.007e-05/0.001853, allocations: 0 / 370.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.277e-05/0.001896, allocations: 4 kB / 370.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.001898, allocations: 0 / 370.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.001899, allocations: 0 / 370.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.001903, allocations: 0 / 370.7 MB, free: 5.27 MB / 298.7 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.0002183/0.002121, allocations: 238.4 kB / 371 MB, free: 5.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.002158, allocations: 12.03 kB / 371 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.002195, allocations: 0.9375 kB / 371 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.059e-05/0.002255, allocations: 109.8 kB / 371.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.002265, allocations: 384 / 371.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.002274, allocations: 384 / 371.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.002368, allocations: 39.98 kB / 371.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.002376, allocations: 192 / 371.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.002385, allocations: 384 / 371.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.00239, allocations: 8.312 kB / 371.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.002409, allocations: 3.938 kB / 371.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.002677, allocations: 423.3 kB / 371.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.596e-05/0.002743, allocations: 173.1 kB / 371.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.002769, allocations: 80.14 kB / 371.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.002792, allocations: 75.28 kB / 371.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.002829, allocations: 109.8 kB / 372 MB, free: 3.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.002829, allocations: 0 / 372 MB, free: 3.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.585e-05/0.002885, allocations: 33.62 kB / 372 MB, free: 3.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.002939, allocations: 130.7 kB / 372.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.00301, allocations: 105.7 kB / 372.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.003018, allocations: 25.7 kB / 372.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.003055, allocations: 96.16 kB / 372.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-06/0.003059, allocations: 0 / 372.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.003082, allocations: 9.719 kB / 372.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.003161, allocations: 318.8 kB / 372.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.00317, allocations: 3.984 kB / 372.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.003182, allocations: 13.72 kB / 372.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.003209, allocations: 13.72 kB / 372.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003211, allocations: 0 / 372.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.853e-05/0.0033, allocations: 49.66 kB / 372.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.003314, allocations: 7.938 kB / 372.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.003319, allocations: 0 / 372.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.00333, allocations: 0 / 372.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.003382, allocations: 7.984 kB / 372.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.003387, allocations: 0 / 372.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.003398, allocations: 4 kB / 372.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.003403, allocations: 3.938 kB / 372.8 MB, free: 3.012 MB / 298.7 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 6.42e-05/0.003467, allocations: 183.1 kB / 373 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.003502, allocations: 108.9 kB / 373.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.003537, allocations: 120.2 kB / 373.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.232e-05/0.00358, allocations: 188.2 kB / 373.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-05/0.003621, allocations: 176.3 kB / 373.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/0.003662, allocations: 180.3 kB / 373.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.003789, allocations: 352.8 kB / 374.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/0.003813, allocations: 109 kB / 374.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.003837, allocations: 104.9 kB / 374.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.229e-05/0.003879, allocations: 180.4 kB / 374.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.003921, allocations: 176.3 kB / 374.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.404e-05/0.003965, allocations: 188.2 kB / 374.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.372e-05/0.004009, allocations: 180.3 kB / 375 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.004335, allocations: 1.078 MB / 376.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.004367, allocations: 105 kB / 376.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.004415, allocations: 184.2 kB / 376.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.00446, allocations: 105 kB / 376.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.0045, allocations: 180.2 kB / 376.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.004523, allocations: 104.9 kB / 376.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.004548, allocations: 83.28 kB / 376.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004548, allocations: 0 / 376.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.004746, allocations: 3.938 kB / 376.8 MB, free: 14.76 MB / 314.7 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 7.557e-05/0.004822, allocations: 170.6 kB / 377 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.909e-05/0.004871, allocations: 4 kB / 377 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004872, allocations: 3.938 kB / 377 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.004874, allocations: 3.938 kB / 377 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.005088, allocations: 455.7 kB / 377.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.005257, allocations: 186 kB / 377.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.005293, allocations: 59.22 kB / 377.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.005308, allocations: 8.5 kB / 377.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of SimCode: time 3.2e-07/0.005308, allocations: 0 / 377.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Templates: time 0.001034/0.006342, allocations: 356 kB / 378 MB, free: 13.47 MB / 314.7 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/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: 3.945761484093964]