Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_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.006373/0.006373, allocations: 103.8 kB / 15.88 MB, free: 6.293 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.001522/0.001522, allocations: 196.5 kB / 16.8 MB, free: 6.23 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.496/1.496, allocations: 205.1 MB / 222.7 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06292/0.06292, allocations: 14.15 MB / 284.1 MB, free: 7.297 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.001348/0.001348, allocations: 67.89 kB / 345 MB, free: 19.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09503, allocations: 50.14 MB / 395.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002071/0.09715, allocations: 0.5503 MB / 395.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000344/0.09752, allocations: 111.7 kB / 395.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.133e-05/0.09755, allocations: 4 kB / 395.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.09758, allocations: 0 / 395.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.09782, allocations: 19.91 kB / 395.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.164e-06/0.09783, allocations: 0 / 395.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.557e-05/0.09787, allocations: 8 kB / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.09791, allocations: 0 / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.09792, allocations: 0 / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.09804, allocations: 23.92 kB / 395.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-06/0.09805, allocations: 0 / 395.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-06/0.09806, allocations: 0 / 395.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.09807, allocations: 0 / 395.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.09809, allocations: 3.938 kB / 395.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.239e-05/0.09814, allocations: 0 / 395.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.09816, allocations: 3.984 kB / 395.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09816, allocations: 4 kB / 395.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.09818, allocations: 4 kB / 395.9 MB, free: 0.9453 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.000309/0.09849, allocations: 303.6 kB / 396.2 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.09854, allocations: 12.09 kB / 396.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.09857, allocations: 0.9375 kB / 396.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.09867, allocations: 164.3 kB / 396.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.09868, allocations: 384 / 396.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.09869, allocations: 384 / 396.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.0988, allocations: 51.97 kB / 396.4 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.09881, allocations: 192 / 396.4 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.09883, allocations: 3.938 kB / 396.4 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.09884, allocations: 4 kB / 396.4 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.09886, allocations: 3.938 kB / 396.4 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.09922, allocations: 467.6 kB / 396.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/0.09931, allocations: 173.1 kB / 397.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.09935, allocations: 84.2 kB / 397.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.09939, allocations: 75.28 kB / 397.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.09944, allocations: 109.8 kB / 397.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.09944, allocations: 0 / 397.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.674e-05/0.09952, allocations: 29.7 kB / 397.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.09959, allocations: 126.7 kB / 397.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.09967, allocations: 105.8 kB / 397.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.09969, allocations: 25.7 kB / 397.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.09974, allocations: 84.36 kB / 397.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.09975, allocations: 4 kB / 397.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.09978, allocations: 13.62 kB / 397.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.09989, allocations: 319 kB / 398 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.09991, allocations: 4 kB / 398 MB, free: 14.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.09993, allocations: 13.7 kB / 398 MB, free: 14.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.09996, allocations: 17.66 kB / 398 MB, free: 14.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.09997, allocations: 3.938 kB / 398.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/0.1001, allocations: 45.7 kB / 398.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1001, allocations: 8 kB / 398.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1001, allocations: 0 / 398.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1001, allocations: 0 / 398.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.1002, allocations: 8 kB / 398.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1002, allocations: 3.984 kB / 398.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.1002, allocations: 0 / 398.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1002, allocations: 4 kB / 398.1 MB, free: 14.47 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 0.0001045/0.1004, allocations: 193 kB / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.1004, allocations: 109 kB / 398.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.1005, allocations: 112 kB / 398.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/0.1006, allocations: 180.3 kB / 398.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/0.1006, allocations: 184.2 kB / 398.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.929e-05/0.1007, allocations: 176.3 kB / 399.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.101, allocations: 409.2 kB / 399.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/0.101, allocations: 108.9 kB / 399.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.1011, allocations: 101 kB / 399.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.334e-05/0.1011, allocations: 180.2 kB / 399.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.1012, allocations: 188.2 kB / 400 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.731e-05/0.1013, allocations: 180.2 kB / 400.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-05/0.1014, allocations: 180.3 kB / 400.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.1018, allocations: 0.8495 MB / 401.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.1019, allocations: 182 kB / 401.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.102, allocations: 184.3 kB / 401.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.1021, allocations: 104.9 kB / 401.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1021, allocations: 180.2 kB / 401.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.1022, allocations: 105 kB / 402 MB, free: 10.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.173e-05/0.1022, allocations: 83.28 kB / 402 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1022, allocations: 0 / 402 MB, free: 10.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000402/0.1026, allocations: 0 / 402 MB, free: 10.29 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.269e-05/0.1027, allocations: 178.5 kB / 402.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.643e-05/0.1028, allocations: 4 kB / 402.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1028, allocations: 0 / 402.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.1028, allocations: 0 / 402.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1031, allocations: 0.5186 MB / 402.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.1033, allocations: 158 kB / 402.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1035, allocations: 0.6731 MB / 403.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.576e-05/0.1036, allocations: 0 / 403.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.1036, allocations: 11.38 kB / 403.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1036, allocations: 0 / 403.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of Templates: time 0.001658/0.1053, allocations: 173.2 kB / 403.7 MB, free: 8.512 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches