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.001501/0.001501, allocations: 92.22 kB / 20.22 MB, free: 4.215 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.0019/0.0019, allocations: 157.7 kB / 23.53 MB, free: 0.9102 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 1.417/1.417, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 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.0691/0.0691, allocations: 10.65 MB / 248.3 MB, free: 4.527 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.683e-06/1.683e-06, allocations: 0 / 317 MB, free: 42.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.588e-05, allocations: 3.578 kB / 317 MB, free: 42.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001258/0.001284, allocations: 0.4885 MB / 317.5 MB, free: 41.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.001577, allocations: 112.6 kB / 317.6 MB, free: 41.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.001605, allocations: 0 / 317.6 MB, free: 41.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.001617, allocations: 3.938 kB / 317.6 MB, free: 41.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.001862, allocations: 18.66 kB / 317.7 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.001865, allocations: 3.938 kB / 317.7 MB, free: 41.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.846e-05/0.001894, allocations: 7.938 kB / 317.7 MB, free: 41.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.00193, allocations: 0.6562 kB / 317.7 MB, free: 41.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.001947, allocations: 4.703 kB / 317.7 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.002056, allocations: 9.859 kB / 317.7 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-06/0.002061, allocations: 0 / 317.7 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-06/0.002064, allocations: 0 / 317.7 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.112e-06/0.00207, allocations: 4 kB / 317.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.002084, allocations: 0 / 317.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.263e-05/0.002117, allocations: 0 / 317.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002119, allocations: 0 / 317.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002119, allocations: 4 kB / 317.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.002123, allocations: 0.9375 kB / 317.7 MB, free: 41.74 MB / 282.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.0001877/0.002311, allocations: 243.4 kB / 317.9 MB, free: 41.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.002342, allocations: 12.03 kB / 317.9 MB, free: 41.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.002379, allocations: 1.594 kB / 318 MB, free: 41.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.164e-05/0.00242, allocations: 102.5 kB / 318.1 MB, free: 41.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.002432, allocations: 384 / 318.1 MB, free: 41.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.002438, allocations: 4.375 kB / 318.1 MB, free: 41.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.002518, allocations: 53.33 kB / 318.1 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.002527, allocations: 192 / 318.1 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.002535, allocations: 4.375 kB / 318.1 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.002539, allocations: 384 / 318.1 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.002556, allocations: 4.547 kB / 318.1 MB, free: 41.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.002751, allocations: 414.2 kB / 318.5 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.002795, allocations: 169.1 kB / 318.7 MB, free: 40.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.00281, allocations: 88.17 kB / 318.8 MB, free: 40.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.002825, allocations: 75.89 kB / 318.8 MB, free: 40.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.002846, allocations: 105.8 kB / 318.9 MB, free: 40.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.002847, allocations: 0 / 318.9 MB, free: 40.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.371e-05/0.00291, allocations: 40.09 kB / 319 MB, free: 40.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.002938, allocations: 131.3 kB / 319.1 MB, free: 40.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.002993, allocations: 95.41 kB / 319.2 MB, free: 40.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.003, allocations: 29.7 kB / 319.2 MB, free: 40.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.003024, allocations: 88.64 kB / 319.3 MB, free: 39.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.003027, allocations: 0 / 319.3 MB, free: 39.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.00305, allocations: 14.28 kB / 319.3 MB, free: 39.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.003088, allocations: 311.6 kB / 319.6 MB, free: 39.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.003096, allocations: 0 / 319.6 MB, free: 39.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.003106, allocations: 18.52 kB / 319.7 MB, free: 39.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.003142, allocations: 18.61 kB / 319.7 MB, free: 39.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003144, allocations: 0 / 319.7 MB, free: 39.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.072e-05/0.003234, allocations: 43.61 kB / 319.7 MB, free: 39.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.003245, allocations: 11.94 kB / 319.7 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.00325, allocations: 0.75 kB / 319.7 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.003266, allocations: 0 / 319.7 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.517e-05/0.003311, allocations: 4.797 kB / 319.7 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.003316, allocations: 0 / 319.7 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.003329, allocations: 7.891 kB / 319.7 MB, free: 39.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.003333, allocations: 8 kB / 319.8 MB, free: 39.5 MB / 282.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 3.958e-05/0.003373, allocations: 185.9 kB / 319.9 MB, free: 39.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.003403, allocations: 101.7 kB / 320 MB, free: 39.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.003426, allocations: 117.4 kB / 320.2 MB, free: 39.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.003447, allocations: 184.8 kB / 320.3 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.003471, allocations: 176.8 kB / 320.5 MB, free: 38.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.003491, allocations: 184.9 kB / 320.7 MB, free: 38.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.003592, allocations: 346.9 kB / 321 MB, free: 38.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.003606, allocations: 105.9 kB / 321.1 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.003619, allocations: 110 kB / 321.2 MB, free: 37.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/0.003641, allocations: 180.4 kB / 321.4 MB, free: 37.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.003665, allocations: 185 kB / 321.6 MB, free: 37.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-05/0.003687, allocations: 188.3 kB / 321.8 MB, free: 37.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.972e-05/0.003707, allocations: 180.2 kB / 322 MB, free: 37.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.00389, allocations: 1.071 MB / 323 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.003909, allocations: 113 kB / 323.1 MB, free: 35.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.003937, allocations: 180.2 kB / 323.3 MB, free: 35.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.003989, allocations: 109 kB / 323.4 MB, free: 35.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.004012, allocations: 184.2 kB / 323.6 MB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.004037, allocations: 101 kB / 323.7 MB, free: 35.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.765e-05/0.004055, allocations: 79.28 kB / 323.8 MB, free: 35.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004055, allocations: 0 / 323.8 MB, free: 35.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.004387, allocations: 7.938 kB / 323.8 MB, free: 35.26 MB / 282.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 6.42e-05/0.004451, allocations: 166.5 kB / 323.9 MB, free: 35.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.254e-05/0.004504, allocations: 11.92 kB / 324 MB, free: 35.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.004505, allocations: 0 / 324 MB, free: 35.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.004506, allocations: 4 kB / 324 MB, free: 35.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.004751, allocations: 453.6 kB / 324.4 MB, free: 34.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.004915, allocations: 158.1 kB / 324.6 MB, free: 34.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.767e-05/0.004942, allocations: 59.58 kB / 324.6 MB, free: 34.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.371e-05/0.004956, allocations: 3.984 kB / 324.6 MB, free: 34.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.004985, allocations: 8.5 kB / 324.6 MB, free: 34.36 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004986, allocations: 0 / 324.6 MB, free: 34.36 MB / 282.7 MB Notification: Performance of Templates: time 0.002041/0.007027, allocations: 202.9 kB / 324.8 MB, free: 34.17 MB / 282.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: 4.5002634869888425]