Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_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.004693/0.004693, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001098/0.001098, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1648/0.1648, allocations: 16.77 MB / 307.3 MB, free: 14.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.69 kB / 426.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08686, allocations: 53.57 MB / 480.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001321/0.08822, allocations: 481.1 kB / 480.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.08851, allocations: 116 kB / 480.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.08855, allocations: 0 / 480.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.08857, allocations: 3.938 kB / 480.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.08882, allocations: 27.75 kB / 480.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.08883, allocations: 0 / 480.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.428e-05/0.08887, allocations: 1.156 kB / 480.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.08891, allocations: 1.906 kB / 480.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.072e-05/0.08893, allocations: 0 / 480.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.08905, allocations: 19.47 kB / 480.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-06/0.08906, allocations: 3.938 kB / 480.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-06/0.08906, allocations: 0 / 480.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.08908, allocations: 1.031 kB / 480.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.08909, allocations: 0 / 480.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.227e-05/0.08913, allocations: 13.09 kB / 480.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.08914, allocations: 0 / 480.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08914, allocations: 0 / 480.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.08915, allocations: 1.125 kB / 480.8 MB, free: 9.938 MB / 350.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.0001855/0.08934, allocations: 309.7 kB / 481.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.08938, allocations: 9.344 kB / 481.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.08941, allocations: 4.922 kB / 481.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.704e-05/0.08946, allocations: 164.3 kB / 481.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.08947, allocations: 1.531 kB / 481.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.08948, allocations: 5.469 kB / 481.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.984e-05/0.08957, allocations: 43.27 kB / 481.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.08958, allocations: 192 / 481.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.08959, allocations: 5 kB / 481.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.0896, allocations: 0 / 481.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.08962, allocations: 6.219 kB / 481.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.08983, allocations: 468 kB / 481.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.08987, allocations: 174.2 kB / 481.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.08989, allocations: 85.2 kB / 482 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.08991, allocations: 75.28 kB / 482.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.08993, allocations: 114.8 kB / 482.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.08994, allocations: 0 / 482.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.664e-05/0.09, allocations: 30.62 kB / 482.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.09004, allocations: 127.9 kB / 482.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.09008, allocations: 96.08 kB / 482.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-06/0.09009, allocations: 26.64 kB / 482.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.09012, allocations: 89.23 kB / 482.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.09013, allocations: 128 / 482.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.09015, allocations: 16.31 kB / 482.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.399e-05/0.09019, allocations: 320.1 kB / 482.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-06/0.09021, allocations: 1 kB / 482.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.09022, allocations: 11.94 kB / 482.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.203e-05/0.09025, allocations: 20.38 kB / 482.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.09025, allocations: 9.25 kB / 482.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.949e-05/0.09034, allocations: 45.34 kB / 483 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.09035, allocations: 5.562 kB / 483 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.09036, allocations: 0 / 483 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.09038, allocations: 1.156 kB / 483 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.09043, allocations: 3.375 kB / 483 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.09044, allocations: 5.25 kB / 483 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.09045, allocations: 0 / 483 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.09046, allocations: 1.125 kB / 483 MB, free: 7.527 MB / 350.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 4.122e-05/0.09051, allocations: 191.1 kB / 483.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.09054, allocations: 102 kB / 483.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.09057, allocations: 117.2 kB / 483.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.09059, allocations: 179.3 kB / 483.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.09062, allocations: 181.5 kB / 483.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.09064, allocations: 181.6 kB / 483.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.09076, allocations: 406.8 kB / 484.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.09078, allocations: 104.9 kB / 484.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.0908, allocations: 102.5 kB / 484.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/0.09082, allocations: 181.5 kB / 484.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.09085, allocations: 177.4 kB / 484.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.999e-05/0.09087, allocations: 184.3 kB / 485.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.849e-05/0.0909, allocations: 185.3 kB / 485.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.339e-05/0.09095, allocations: 312.1 kB / 485.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.09099, allocations: 183.4 kB / 485.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.09102, allocations: 185.4 kB / 485.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.09108, allocations: 105 kB / 486 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.0911, allocations: 181.8 kB / 486.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.09112, allocations: 106.1 kB / 486.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.781e-05/0.09114, allocations: 81.11 kB / 486.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09115, allocations: 0 / 486.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.09139, allocations: 1.094 kB / 486.4 MB, free: 3.957 MB / 350.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 5.909e-05/0.09145, allocations: 169.8 kB / 486.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.256e-05/0.09152, allocations: 5 kB / 486.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.09153, allocations: 4 kB / 486.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.09153, allocations: 7.969 kB / 486.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.09177, allocations: 466.2 kB / 487 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001294/0.09191, allocations: 149.4 kB / 487.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.332e-05/0.092, allocations: 0.6742 MB / 487.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.268e-05/0.09202, allocations: 0 / 487.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.09204, allocations: 8.844 kB / 487.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09204, allocations: 0 / 487.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Templates: time 0.001518/0.09356, allocations: 180.4 kB / 488 MB, free: 2.344 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches