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.005574/0.005574, allocations: 102.7 kB / 15.74 MB, free: 6.496 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.00154/0.00154, allocations: 195.5 kB / 16.68 MB, free: 6.375 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.446/1.446, 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.1837/0.1837, allocations: 16.69 MB / 307.2 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 64.39 kB / 426.4 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08574, allocations: 53.56 MB / 480 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001271/0.08705, allocations: 481.8 kB / 480.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.08731, allocations: 127.3 kB / 480.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.08735, allocations: 4 kB / 480.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.08737, allocations: 0 / 480.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.08762, allocations: 19.88 kB / 480.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.08763, allocations: 0 / 480.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.059e-05/0.08767, allocations: 5.141 kB / 480.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.08771, allocations: 4.984 kB / 480.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-06/0.08773, allocations: 1.062 kB / 480.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.08782, allocations: 11.34 kB / 480.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-06/0.08783, allocations: 0 / 480.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.765e-06/0.08784, allocations: 0 / 480.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-06/0.08785, allocations: 0 / 480.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.447e-06/0.08787, allocations: 5.062 kB / 480.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.087e-05/0.0879, allocations: 3.984 kB / 480.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.08791, allocations: 1.156 kB / 480.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.08791, allocations: 0 / 480.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.08792, allocations: 0 / 480.6 MB, free: 10.09 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.0001709/0.0881, allocations: 319.3 kB / 481 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.08813, allocations: 8.938 kB / 481 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.08816, allocations: 5.766 kB / 481 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.203e-05/0.08822, allocations: 165.4 kB / 481.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.08824, allocations: 384 / 481.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.08825, allocations: 1.344 kB / 481.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.853e-05/0.08833, allocations: 48.09 kB / 481.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.08834, allocations: 192 / 481.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.08836, allocations: 7.938 kB / 481.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.08836, allocations: 5 kB / 481.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.08839, allocations: 6 kB / 481.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.08859, allocations: 460.2 kB / 481.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.005e-05/0.08863, allocations: 174 kB / 481.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.08865, allocations: 85.23 kB / 481.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.08867, allocations: 83.22 kB / 482 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.0887, allocations: 115.2 kB / 482.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.0887, allocations: 0 / 482.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.217e-05/0.08876, allocations: 27.11 kB / 482.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.08879, allocations: 126.7 kB / 482.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.08884, allocations: 104.6 kB / 482.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-06/0.08885, allocations: 27.11 kB / 482.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.08888, allocations: 88.09 kB / 482.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.08888, allocations: 1.188 kB / 482.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.08891, allocations: 12.5 kB / 482.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.08895, allocations: 310.8 kB / 482.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.08896, allocations: 5.312 kB / 482.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/0.08898, allocations: 20.28 kB / 482.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.089, allocations: 16.81 kB / 482.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.08901, allocations: 3.938 kB / 482.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.618e-05/0.08909, allocations: 42.78 kB / 482.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.08911, allocations: 6.344 kB / 482.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.08912, allocations: 1.562 kB / 482.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.08913, allocations: 4.125 kB / 482.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.08918, allocations: 3 kB / 482.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.08919, allocations: 1.594 kB / 482.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.0892, allocations: 6.219 kB / 482.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.08921, allocations: 0 / 482.9 MB, free: 7.668 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.059e-05/0.08926, allocations: 191.1 kB / 483.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.08929, allocations: 101 kB / 483.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.08932, allocations: 113.5 kB / 483.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.08934, allocations: 180.3 kB / 483.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/0.08937, allocations: 184.2 kB / 483.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.08939, allocations: 181.8 kB / 483.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.0895, allocations: 398.7 kB / 484.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.08952, allocations: 106.4 kB / 484.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.08954, allocations: 105 kB / 484.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/0.08956, allocations: 189.7 kB / 484.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.08959, allocations: 177.7 kB / 484.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.777e-05/0.08961, allocations: 180.2 kB / 484.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-05/0.08963, allocations: 181.7 kB / 485.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.103e-05/0.08969, allocations: 314.7 kB / 485.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.08972, allocations: 183.5 kB / 485.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.08975, allocations: 181.7 kB / 485.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.0898, allocations: 102.4 kB / 485.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.08983, allocations: 184.6 kB / 486.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.08985, allocations: 114.4 kB / 486.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.596e-05/0.08987, allocations: 80.69 kB / 486.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08988, allocations: 0 / 486.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000204/0.09008, allocations: 1.406 kB / 486.3 MB, free: 4.094 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 6.156e-05/0.09015, allocations: 166.2 kB / 486.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.617e-05/0.09021, allocations: 4.219 kB / 486.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09022, allocations: 8.156 kB / 486.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.09023, allocations: 5.438 kB / 486.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.09047, allocations: 462.9 kB / 486.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001463/0.09063, allocations: 152.8 kB / 487 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/0.09073, allocations: 0.6699 MB / 487.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.09075, allocations: 5.344 kB / 487.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.09077, allocations: 7.438 kB / 487.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09077, allocations: 0 / 487.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Templates: time 0.001949/0.09273, allocations: 173.1 kB / 487.9 MB, free: 2.492 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