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.004492/0.004492, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001119/0.001119, allocations: 195.8 kB / 16.79 MB, free: 5.812 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.321/1.321, allocations: 205.1 MB / 222.6 MB, free: 4.949 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06258/0.06258, allocations: 14.14 MB / 284.1 MB, free: 7.535 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.001365/0.001365, allocations: 67.91 kB / 345 MB, free: 19.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08216/0.08354, allocations: 50.14 MB / 395.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001675/0.08526, allocations: 0.547 MB / 395.7 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.08562, allocations: 119.6 kB / 395.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.227e-05/0.08564, allocations: 4 kB / 395.8 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.08567, allocations: 4 kB / 395.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.08589, allocations: 11.98 kB / 395.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.565e-06/0.0859, allocations: 0 / 395.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.506e-05/0.08593, allocations: 4 kB / 395.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.08597, allocations: 0 / 395.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.064e-05/0.08599, allocations: 0 / 395.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.0861, allocations: 23.92 kB / 395.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-06/0.08612, allocations: 0 / 395.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-06/0.08612, allocations: 0 / 395.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.08614, allocations: 0 / 395.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.196e-05/0.08616, allocations: 7.922 kB / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.276e-05/0.08619, allocations: 0 / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.08619, allocations: 0 / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.0862, allocations: 0 / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.08621, allocations: 0 / 395.9 MB, free: 0.9844 MB / 286.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.0002482/0.08647, allocations: 311.6 kB / 396.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.08651, allocations: 16.09 kB / 396.2 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.08654, allocations: 4.922 kB / 396.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.08663, allocations: 160.4 kB / 396.4 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.08665, allocations: 384 / 396.4 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.08666, allocations: 384 / 396.4 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.08676, allocations: 39.98 kB / 396.4 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.08677, allocations: 192 / 396.4 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.08679, allocations: 11.88 kB / 396.4 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.0868, allocations: 4 kB / 396.4 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.08682, allocations: 7.938 kB / 396.4 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.08716, allocations: 459.7 kB / 396.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/0.08725, allocations: 173 kB / 397 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.08729, allocations: 88.2 kB / 397.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.08733, allocations: 79.27 kB / 397.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.08738, allocations: 113.8 kB / 397.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 2.966e-06/0.08739, allocations: 0 / 397.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.391e-05/0.08746, allocations: 29.64 kB / 397.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.08753, allocations: 126.7 kB / 397.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.0876, allocations: 101.8 kB / 397.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.08763, allocations: 25.7 kB / 397.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.08767, allocations: 88.36 kB / 397.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.08768, allocations: 4 kB / 397.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.08772, allocations: 21.55 kB / 397.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.08782, allocations: 310.8 kB / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.08784, allocations: 4 kB / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.08787, allocations: 17.84 kB / 398 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.08791, allocations: 17.72 kB / 398.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.08792, allocations: 3.938 kB / 398.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.969e-05/0.08802, allocations: 41.62 kB / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.08804, allocations: 8 kB / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.08805, allocations: 0 / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.08806, allocations: 0 / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.08812, allocations: 4.125 kB / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.08813, allocations: 4 kB / 398.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.08815, allocations: 0 / 398.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.08816, allocations: 0 / 398.1 MB, free: 14.5 MB / 302.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 9.435e-05/0.08826, allocations: 198.1 kB / 398.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.08832, allocations: 104.9 kB / 398.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.08837, allocations: 108.1 kB / 398.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/0.08843, allocations: 188.2 kB / 398.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-05/0.08849, allocations: 176.3 kB / 398.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-05/0.08855, allocations: 180.3 kB / 399 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.08877, allocations: 409.1 kB / 399.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/0.08881, allocations: 101 kB / 399.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.08885, allocations: 104.9 kB / 399.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.734e-05/0.08891, allocations: 180.3 kB / 399.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.08899, allocations: 188.3 kB / 400 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.256e-05/0.08905, allocations: 184.2 kB / 400.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.869e-05/0.08912, allocations: 176.3 kB / 400.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.08924, allocations: 315.9 kB / 400.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.08932, allocations: 186.1 kB / 400.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.08939, allocations: 184.2 kB / 401 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.08947, allocations: 104.9 kB / 401.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.08953, allocations: 180.2 kB / 401.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.08957, allocations: 101 kB / 401.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.08961, allocations: 91.27 kB / 401.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08962, allocations: 0 / 401.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.08984, allocations: 0 / 401.5 MB, free: 10.89 MB / 302.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 9.976e-05/0.08994, allocations: 170.5 kB / 401.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.67e-05/0.09, allocations: 7.938 kB / 401.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.09001, allocations: 0 / 401.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.09002, allocations: 224 / 401.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.09037, allocations: 0.5224 MB / 402.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.09057, allocations: 179.8 kB / 402.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.09081, allocations: 0.6731 MB / 403 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.09083, allocations: 7.438 kB / 403 MB, free: 9.266 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09084, allocations: 0 / 403 MB, free: 9.266 MB / 302.1 MB Notification: Performance of Templates: time 0.001409/0.09225, allocations: 335.9 kB / 403.4 MB, free: 8.938 MB / 302.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","../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches