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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 106.1 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001744, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06268/0.06268, allocations: 14.16 MB / 284.7 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 62.5 kB / 397.1 MB, free: 43.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06397/0.06542, allocations: 50.15 MB / 447.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001466/0.06692, allocations: 484.8 kB / 447.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.06722, allocations: 111.7 kB / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.06726, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.06729, allocations: 0 / 447.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.06754, allocations: 27.91 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.266e-06/0.06755, allocations: 0 / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 2.903e-05/0.06759, allocations: 3.938 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.06764, allocations: 8.344 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.093e-05/0.06765, allocations: 3.938 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.06775, allocations: 7.984 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-06/0.06776, allocations: 4 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-06/0.06777, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-06/0.06778, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.987e-06/0.06779, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 2.772e-05/0.06782, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.06784, allocations: 7.984 kB / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.06784, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.06785, allocations: 4 kB / 447.9 MB, free: 13.04 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.000235/0.06809, allocations: 307.6 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.06813, allocations: 8.031 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.06816, allocations: 4.938 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.56e-05/0.06825, allocations: 160.4 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.06826, allocations: 4.312 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.06828, allocations: 4.359 kB / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.06837, allocations: 59.91 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.06838, allocations: 192 / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.06839, allocations: 3.938 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.0684, allocations: 0 / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.06842, allocations: 4 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.06872, allocations: 463.6 kB / 448.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.582e-05/0.06881, allocations: 181 kB / 449.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.06885, allocations: 80.14 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.06888, allocations: 75.28 kB / 449.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.06892, allocations: 109.9 kB / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.06893, allocations: 0 / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.046e-05/0.06899, allocations: 37.58 kB / 449.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.06905, allocations: 126.7 kB / 449.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.06913, allocations: 101.8 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.06914, allocations: 25.7 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.06919, allocations: 84.05 kB / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.0692, allocations: 0 / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.06923, allocations: 13.72 kB / 449.7 MB, free: 11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.06932, allocations: 315 kB / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-06/0.06934, allocations: 0 / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.06936, allocations: 21.7 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.06939, allocations: 17.66 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.0694, allocations: 3.938 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.109e-05/0.06949, allocations: 37.7 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.06952, allocations: 8.125 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.06953, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.06954, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.06959, allocations: 7.984 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.0696, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.06962, allocations: 3.938 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.06963, allocations: 0 / 450.1 MB, free: 10.56 MB / 334.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 8.129e-05/0.06971, allocations: 193 kB / 450.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.06977, allocations: 105 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.06981, allocations: 104.1 kB / 450.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/0.06988, allocations: 188.1 kB / 450.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.629e-05/0.06994, allocations: 184.2 kB / 450.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.688e-05/0.07, allocations: 180.2 kB / 451.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.0702, allocations: 397.2 kB / 451.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-05/0.07024, allocations: 113 kB / 451.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.07029, allocations: 108.9 kB / 451.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.884e-05/0.07034, allocations: 176.3 kB / 451.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.07041, allocations: 184.2 kB / 452 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.683e-05/0.07047, allocations: 184.3 kB / 452.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.734e-05/0.07053, allocations: 184.2 kB / 452.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.07065, allocations: 307.8 kB / 452.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.07072, allocations: 185.9 kB / 452.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.07079, allocations: 180.5 kB / 453.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.07087, allocations: 108.9 kB / 453.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.07094, allocations: 188.3 kB / 453.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.07097, allocations: 101 kB / 453.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.527e-05/0.07101, allocations: 79.28 kB / 453.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07102, allocations: 0 / 453.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.07123, allocations: 0 / 453.5 MB, free: 6.965 MB / 334.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 8.392e-05/0.07132, allocations: 174.4 kB / 453.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.36e-05/0.07138, allocations: 12.08 kB / 453.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.07139, allocations: 0 / 453.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.0714, allocations: 0 / 453.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.07174, allocations: 459.6 kB / 454.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.07192, allocations: 181.9 kB / 454.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.07215, allocations: 0.6768 MB / 455 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.07217, allocations: 7.438 kB / 455 MB, free: 5.395 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.07218, allocations: 0 / 455 MB, free: 5.395 MB / 334.1 MB Notification: Performance of Templates: time 0.001266/0.07345, allocations: 351.8 kB / 455.4 MB, free: 5.051 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (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=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches