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.001364/0.001364, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001374/0.001374, allocations: 173 kB / 23.49 MB, free: 1.059 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.9274/0.9274, allocations: 158.6 MB / 185.3 MB, free: 2.934 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.04103/0.04103, allocations: 10.65 MB / 248.2 MB, free: 4.523 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.462e-06/1.462e-06, allocations: 0 / 317 MB, free: 42.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.506e-05, allocations: 7.516 kB / 317 MB, free: 42.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001131/0.001156, allocations: 0.4913 MB / 317.5 MB, free: 41.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.001394, allocations: 114.7 kB / 317.6 MB, free: 41.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.001422, allocations: 3.938 kB / 317.6 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.001438, allocations: 0 / 317.6 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.001683, allocations: 27.86 kB / 317.7 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.755e-06/0.001686, allocations: 0 / 317.7 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.001727, allocations: 0 / 317.7 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.001768, allocations: 7.984 kB / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.001788, allocations: 0 / 317.7 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.001898, allocations: 11.98 kB / 317.7 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.001904, allocations: 0 / 317.7 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-06/0.001907, allocations: 0 / 317.7 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-06/0.001914, allocations: 0 / 317.7 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.001924, allocations: 7.938 kB / 317.7 MB, free: 41.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.855e-05/0.001963, allocations: 0 / 317.7 MB, free: 41.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.001966, allocations: 0 / 317.7 MB, free: 41.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.001966, allocations: 0 / 317.7 MB, free: 41.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.001971, allocations: 0 / 317.7 MB, free: 41.7 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.0001667/0.002138, allocations: 344.4 kB / 318 MB, free: 41.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.002174, allocations: 8.031 kB / 318 MB, free: 41.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.002206, allocations: 3.344 kB / 318 MB, free: 41.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.191e-05/0.002248, allocations: 104.6 kB / 318.1 MB, free: 41.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.002258, allocations: 4.375 kB / 318.1 MB, free: 41.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-06/0.002266, allocations: 4.359 kB / 318.1 MB, free: 41.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.705e-05/0.002343, allocations: 57.58 kB / 318.2 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.002349, allocations: 192 / 318.2 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.002357, allocations: 384 / 318.2 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.002364, allocations: 384 / 318.2 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.251e-05/0.002376, allocations: 11.92 kB / 318.2 MB, free: 41.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.002565, allocations: 0.5869 MB / 318.8 MB, free: 40.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.002605, allocations: 265.5 kB / 319.1 MB, free: 40.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.00262, allocations: 126.9 kB / 319.2 MB, free: 40.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.002631, allocations: 119.2 kB / 319.3 MB, free: 39.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.002661, allocations: 160.6 kB / 319.5 MB, free: 39.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.002661, allocations: 4 kB / 319.5 MB, free: 39.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.263e-05/0.002714, allocations: 37.58 kB / 319.5 MB, free: 39.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.002741, allocations: 170.6 kB / 319.7 MB, free: 39.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.627e-05/0.002797, allocations: 157.9 kB / 319.8 MB, free: 39.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-06/0.002801, allocations: 25.7 kB / 319.8 MB, free: 39.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.002827, allocations: 131.2 kB / 320 MB, free: 39.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.002829, allocations: 0 / 320 MB, free: 39.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.00285, allocations: 27.36 kB / 320 MB, free: 39.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.002885, allocations: 492.1 kB / 320.5 MB, free: 38.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-06/0.002892, allocations: 4 kB / 320.5 MB, free: 38.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.002903, allocations: 19.5 kB / 320.5 MB, free: 38.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.002932, allocations: 31.25 kB / 320.5 MB, free: 38.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.002934, allocations: 0 / 320.5 MB, free: 38.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.826e-05/0.003012, allocations: 37.69 kB / 320.6 MB, free: 38.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.003026, allocations: 11.94 kB / 320.6 MB, free: 38.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.003031, allocations: 1.016 kB / 320.6 MB, free: 38.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.003045, allocations: 0 / 320.6 MB, free: 38.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.003096, allocations: 8.062 kB / 320.6 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.003101, allocations: 4 kB / 320.6 MB, free: 38.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.003111, allocations: 3.953 kB / 320.6 MB, free: 38.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.003115, allocations: 4 kB / 320.6 MB, free: 38.55 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.878e-05/0.003154, allocations: 275.8 kB / 320.9 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.003175, allocations: 148.9 kB / 321 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.003206, allocations: 159.9 kB / 321.2 MB, free: 37.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.003227, allocations: 268.2 kB / 321.4 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.003246, allocations: 268.1 kB / 321.7 MB, free: 37.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.003264, allocations: 268 kB / 322 MB, free: 37.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/0.003346, allocations: 0.4921 MB / 322.5 MB, free: 36.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.003361, allocations: 152.8 kB / 322.6 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.003374, allocations: 144.9 kB / 322.7 MB, free: 36.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.288e-05/0.003397, allocations: 268.1 kB / 323 MB, free: 36.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.003422, allocations: 272 kB / 323.3 MB, free: 35.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-05/0.003447, allocations: 276 kB / 323.5 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-05/0.003472, allocations: 272 kB / 323.8 MB, free: 35.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.444e-05/0.003536, allocations: 440 kB / 324.2 MB, free: 34.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.003561, allocations: 148.9 kB / 324.4 MB, free: 34.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.003595, allocations: 272.1 kB / 324.6 MB, free: 34.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.003627, allocations: 152.8 kB / 324.8 MB, free: 34.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.003652, allocations: 268.1 kB / 325.1 MB, free: 33.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.003664, allocations: 152.8 kB / 325.2 MB, free: 33.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.003684, allocations: 119.2 kB / 325.3 MB, free: 33.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003685, allocations: 0 / 325.3 MB, free: 33.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.003819, allocations: 7.984 kB / 325.3 MB, free: 33.62 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 7.391e-05/0.003893, allocations: 206.4 kB / 325.5 MB, free: 33.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.67e-05/0.003959, allocations: 15.69 kB / 325.5 MB, free: 33.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.003961, allocations: 0 / 325.5 MB, free: 33.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.003962, allocations: 224 / 325.5 MB, free: 33.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.00415, allocations: 0.7125 MB / 326.3 MB, free: 32.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.004319, allocations: 212.4 kB / 326.5 MB, free: 32.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.173e-05/0.004341, allocations: 55.34 kB / 326.5 MB, free: 32.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.791e-05/0.004359, allocations: 0 / 326.5 MB, free: 32.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.004376, allocations: 8.5 kB / 326.5 MB, free: 32.36 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004376, allocations: 0 / 326.5 MB, free: 32.36 MB / 282.7 MB Notification: Performance of Templates: time 0.001821/0.006198, allocations: 206.2 kB / 326.7 MB, free: 32.16 MB / 282.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 -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: 3.000241738045588]