Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001032/0.001032, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001772/0.002804, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00112/0.00112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002544, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9003/0.9003, allocations: 158.6 MB / 171 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.133/1.033, allocations: 49.5 MB / 220.5 MB, free: 1.449 MB / 218.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.03981/0.03981, allocations: 10.63 MB / 231.9 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006396/0.04621, allocations: 4.147 MB / 236 MB, free: 1.914 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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 237.3 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.603e-05, allocations: 2.312 kB / 237.3 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001012/0.001028, allocations: 0.5438 MB / 237.8 MB, free: 116 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.001174, allocations: 119.7 kB / 238 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.001188, allocations: 0 / 238 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.526e-06/0.001192, allocations: 0 / 238 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.001294, allocations: 31.73 kB / 238 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.264e-06/0.001297, allocations: 0 / 238 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 2.78e-05/0.001324, allocations: 0 / 238 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.001358, allocations: 4 kB / 238 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.001379, allocations: 3.984 kB / 238 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.001459, allocations: 8 kB / 238 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.001465, allocations: 3.938 kB / 238 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.001468, allocations: 4 kB / 238 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-06/0.001474, allocations: 0 / 238 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.049e-05/0.001484, allocations: 0 / 238 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 3.934e-05/0.001523, allocations: 0 / 238 MB, free: 15.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.001537, allocations: 0 / 238 MB, free: 15.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.001538, allocations: 4 kB / 238 MB, free: 15.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.001552, allocations: 0 / 238 MB, free: 15.94 MB / 250.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.0002129/0.001765, allocations: 212.7 kB / 238.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.001794, allocations: 11.89 kB / 238.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.001819, allocations: 4.938 kB / 238.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.379e-05/0.001873, allocations: 105.8 kB / 238.3 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.001883, allocations: 8.312 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-06/0.001888, allocations: 384 / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.06e-05/0.001958, allocations: 47.97 kB / 238.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.001965, allocations: 192 / 238.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.00197, allocations: 4.375 kB / 238.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.001974, allocations: 384 / 238.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.245e-05/0.001987, allocations: 7.875 kB / 238.4 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.002208, allocations: 371 kB / 238.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.002271, allocations: 173.2 kB / 238.9 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.002292, allocations: 84.08 kB / 239 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.002311, allocations: 79.28 kB / 239.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.002347, allocations: 109.8 kB / 239.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.002348, allocations: 0 / 239.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.894e-05/0.002397, allocations: 37.62 kB / 239.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.002443, allocations: 126.7 kB / 239.4 MB, free: 14.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.0025, allocations: 102.7 kB / 239.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.002507, allocations: 25.7 kB / 239.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.002544, allocations: 84.09 kB / 239.6 MB, free: 14.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.00255, allocations: 0 / 239.6 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.002571, allocations: 17.8 kB / 239.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.002661, allocations: 318.8 kB / 239.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.002668, allocations: 4 kB / 239.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.002683, allocations: 21.73 kB / 239.9 MB, free: 13.85 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.002709, allocations: 17.66 kB / 239.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.002711, allocations: 0 / 239.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.106e-05/0.002772, allocations: 41.62 kB / 240 MB, free: 13.78 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.002783, allocations: 4 kB / 240 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.002789, allocations: 4.125 kB / 240 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.002799, allocations: 7.938 kB / 240 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.002847, allocations: 4 kB / 240 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.00285, allocations: 0 / 240 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.868e-06/0.00286, allocations: 0 / 240 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.002864, allocations: 0 / 240 MB, free: 13.76 MB / 250.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.16e-05/0.002926, allocations: 185.1 kB / 240.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.002959, allocations: 105 kB / 240.3 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.002994, allocations: 116.1 kB / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.003032, allocations: 184.2 kB / 240.6 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.519e-05/0.003067, allocations: 180.2 kB / 240.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/0.003102, allocations: 184.4 kB / 240.9 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.003212, allocations: 321.4 kB / 241.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/0.003233, allocations: 105 kB / 241.4 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.003253, allocations: 101 kB / 241.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.00328, allocations: 104.9 kB / 241.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.665e-05/0.003317, allocations: 180.3 kB / 241.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.003354, allocations: 184.2 kB / 241.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.285e-05/0.003387, allocations: 184.1 kB / 242.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.504e-05/0.003422, allocations: 188.2 kB / 242.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.71e-05/0.003499, allocations: 303.8 kB / 242.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.003544, allocations: 188.2 kB / 242.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.003586, allocations: 105 kB / 242.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.003625, allocations: 180.3 kB / 243 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.00365, allocations: 112.9 kB / 243.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.815e-06/0.003657, allocations: 4.859 kB / 243.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003657, allocations: 0 / 243.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001084/0.003766, allocations: 0 / 243.2 MB, free: 10.44 MB / 250.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.234e-05/0.003838, allocations: 151.7 kB / 243.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.061e-05/0.003879, allocations: 9.016 kB / 243.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.003884, allocations: 4.062 kB / 243.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.003885, allocations: 3.938 kB / 243.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.004056, allocations: 455.7 kB / 243.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001311/0.004187, allocations: 163 kB / 243.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.39e-05/0.004211, allocations: 51.36 kB / 244 MB, free: 9.555 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.004229, allocations: 4 kB / 244 MB, free: 9.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.004252, allocations: 47.38 kB / 244 MB, free: 9.504 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.004252, allocations: 0 / 244 MB, free: 9.504 MB / 250.7 MB Notification: Performance of Templates: time 0.001313/0.005565, allocations: 213.1 kB / 244.2 MB, free: 9.297 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.514240217395127]