Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07806/0.07806, allocations: 19.39 MB / 34.65 MB, free: 276 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 175.1 kB / 40.28 MB, free: 6.539 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.7 MB / 271.5 MB, free: 3.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000803/0.000803, allocations: 91.77 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 8 kB / 395.4 MB, free: 47.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1004, allocations: 55.18 MB / 450.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001025/0.1014, allocations: 421.4 kB / 451 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000155/0.1016, allocations: 27.91 kB / 451 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.1017, allocations: 3.938 kB / 451 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.1017, allocations: 0 / 451 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.1018, allocations: 8 kB / 451 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.225e-05/0.1019, allocations: 4 kB / 451 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.1019, allocations: 27.86 kB / 451 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.102, allocations: 4 kB / 451 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.349e-05/0.1021, allocations: 4 kB / 451 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1022, allocations: 19.91 kB / 451.1 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1022, allocations: 0 / 451.1 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.1022, allocations: 0 / 451.1 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.1022, allocations: 4 kB / 451.1 MB, free: 8.195 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1023, allocations: 37.62 kB / 451.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.833e-05/0.1024, allocations: 11.98 kB / 451.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1024, allocations: 0 / 451.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1024, allocations: 0 / 451.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1024, allocations: 0 / 451.1 MB, free: 8.141 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004043/0.1028, allocations: 331.7 kB / 451.4 MB, free: 7.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1028, allocations: 13.09 kB / 451.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.1029, allocations: 0.9375 kB / 451.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.103, allocations: 172.4 kB / 451.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.103, allocations: 4.375 kB / 451.6 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1031, allocations: 384 / 451.6 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.252e-05/0.1031, allocations: 42.25 kB / 451.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.1032, allocations: 192 / 451.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1032, allocations: 3.938 kB / 451.7 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.1032, allocations: 4 kB / 451.7 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.1032, allocations: 15.98 kB / 451.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1036, allocations: 256.9 kB / 451.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1037, allocations: 42.5 kB / 452 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.1037, allocations: 20.91 kB / 452 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1038, allocations: 0 / 452 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1038, allocations: 30.56 kB / 452 MB, free: 7.059 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1038, allocations: 0 / 452 MB, free: 7.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.1039, allocations: 57.53 kB / 452.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.104, allocations: 63.39 kB / 452.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.1041, allocations: 93.86 kB / 452.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1041, allocations: 25.7 kB / 452.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.1041, allocations: 84.14 kB / 452.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.1042, allocations: 11.84 kB / 452.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.1042, allocations: 0 / 452.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1043, allocations: 314.8 kB / 452.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.1043, allocations: 8 kB / 452.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.1043, allocations: 11.94 kB / 452.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.1044, allocations: 20.86 kB / 452.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1044, allocations: 0 / 452.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.073e-05/0.1044, allocations: 53.56 kB / 452.8 MB, free: 6.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1045, allocations: 4 kB / 452.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1045, allocations: 0 / 452.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1045, allocations: 7.984 kB / 452.8 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.1045, allocations: 4 kB / 452.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1046, allocations: 0 / 452.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.1046, allocations: 0 / 452.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1046, allocations: 4 kB / 452.8 MB, free: 6.254 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.092e-05/0.1047, allocations: 121.7 kB / 452.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.1047, allocations: 3.906 kB / 452.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.1049, allocations: 73.11 kB / 453 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1049, allocations: 4 kB / 453 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1049, allocations: 0 / 453 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1049, allocations: 4 kB / 453 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1051, allocations: 165.6 kB / 453.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1051, allocations: 0 / 453.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.1051, allocations: 4 kB / 453.2 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1051, allocations: 4 kB / 453.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1051, allocations: 0 / 453.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1051, allocations: 0 / 453.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1051, allocations: 0 / 453.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1053, allocations: 167.4 kB / 453.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.1053, allocations: 81.02 kB / 453.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1053, allocations: 128 / 453.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.1054, allocations: 4.516 kB / 453.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.1054, allocations: 8 kB / 453.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1054, allocations: 0 / 453.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.1055, allocations: 87.25 kB / 453.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1055, allocations: 0 / 453.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.1057, allocations: 4 kB / 453.5 MB, free: 5.43 MB / 314.7 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 (5): * Single equations (assignments): 5 * 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.427e-05/0.1058, allocations: 107.2 kB / 453.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.1059, allocations: 16 kB / 453.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1059, allocations: 0 / 453.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.1059, allocations: 19.92 kB / 453.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1062, allocations: 7.938 kB / 453.6 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.1065, allocations: 119.4 kB / 453.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.1067, allocations: 0.6809 MB / 454.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1067, allocations: 4 kB / 454.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1068, allocations: 15.38 kB / 454.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1068, allocations: 0 / 454.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of Templates: time 0.002042/0.1088, allocations: 426.5 kB / 454.9 MB, free: 3.992 MB / 314.7 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)