Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008617/0.0008619, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 90.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 16 kB / 432.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.09971, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001907/0.1017, allocations: 1.472 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1029, allocations: 0.8201 MB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.18e-05/0.103, allocations: 0 / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.1035, allocations: 307.4 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.1038, allocations: 191.5 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.1042, allocations: 131.7 kB / 493.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.1045, allocations: 203.4 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.1045, allocations: 9.547 kB / 494.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1047, allocations: 119.6 kB / 494.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1049, allocations: 159.6 kB / 494.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1049, allocations: 0 / 494.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.105, allocations: 43.97 kB / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1052, allocations: 139.6 kB / 494.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1053, allocations: 160.7 kB / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1056, allocations: 275.8 kB / 494.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1056, allocations: 0 / 494.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1056, allocations: 0 / 494.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1056, allocations: 0 / 494.9 MB, free: 6.508 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007838/0.1064, allocations: 0.665 MB / 495.6 MB, free: 5.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1065, allocations: 8.031 kB / 495.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.1065, allocations: 34.75 kB / 495.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.1066, allocations: 56.27 kB / 495.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.1071, allocations: 447.8 kB / 496.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1071, allocations: 4.375 kB / 496.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1071, allocations: 3.938 kB / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1073, allocations: 83.36 kB / 496.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1073, allocations: 0 / 496.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1073, allocations: 4 kB / 496.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1074, allocations: 4 kB / 496.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.1075, allocations: 35.91 kB / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1078, allocations: 374.3 kB / 496.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.1081, allocations: 109.1 kB / 496.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.1082, allocations: 37.7 kB / 496.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1082, allocations: 7.984 kB / 496.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.1084, allocations: 109 kB / 496.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.475e-06/0.1084, allocations: 4 kB / 496.9 MB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004344/0.1089, allocations: 196.9 kB / 497.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1089, allocations: 84.98 kB / 497.2 MB, free: 4.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/0.1099, allocations: 1.038 MB / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1099, allocations: 29.7 kB / 498.2 MB, free: 2.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1101, allocations: 232 kB / 498.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.1102, allocations: 31.64 kB / 498.5 MB, free: 2.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1102, allocations: 0 / 498.5 MB, free: 2.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1103, allocations: 374.8 kB / 498.9 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.1104, allocations: 23.98 kB / 498.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.1105, allocations: 59.41 kB / 498.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1107, allocations: 91.86 kB / 499 MB, free: 2.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1107, allocations: 7.938 kB / 499 MB, free: 2.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002667/0.111, allocations: 164.9 kB / 499.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.111, allocations: 4 kB / 499.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.111, allocations: 0 / 499.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.111, allocations: 4 kB / 499.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1111, allocations: 27.92 kB / 499.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1111, allocations: 4 kB / 499.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.1112, allocations: 8.062 kB / 499.2 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1113, allocations: 4 kB / 499.2 MB, free: 1.898 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.1115, allocations: 233.5 kB / 499.5 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.1115, allocations: 47.34 kB / 499.5 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.984e-05/0.1116, allocations: 60 kB / 499.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1116, allocations: 0 / 499.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1116, allocations: 4 kB / 499.6 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1116, allocations: 3.984 kB / 499.6 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.1119, allocations: 349.3 kB / 499.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1119, allocations: 4 kB / 499.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.112, allocations: 4 kB / 499.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.112, allocations: 7.984 kB / 499.9 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.112, allocations: 4 kB / 499.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.112, allocations: 3.984 kB / 500 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.112, allocations: 4 kB / 500 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1123, allocations: 201.2 kB / 0.4884 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1124, allocations: 152.4 kB / 0.4886 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.1125, allocations: 0 / 0.4886 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.1126, allocations: 8.109 kB / 0.4886 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1126, allocations: 12.09 kB / 0.4886 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1126, allocations: 15.92 kB / 0.4886 GB, free: 0.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1798/0.2924, allocations: 0.7644 MB / 0.4894 GB, free: 43.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2924, allocations: 0 / 0.4894 GB, free: 43.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.2929, allocations: 40.28 kB / 0.4894 GB, free: 43.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.2943, allocations: 1.034 MB / 0.4904 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.2946, allocations: 87.19 kB / 0.4905 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2946, allocations: 0 / 0.4905 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2947, allocations: 42.33 kB / 0.4905 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.2952, allocations: 65.72 kB / 0.4906 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.2998, allocations: 2.958 MB / 0.4935 GB, free: 41.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3002, allocations: 0.8441 MB / 0.4943 GB, free: 41.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.3004, allocations: 145 kB / 0.4944 GB, free: 41.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3004, allocations: 0 / 0.4944 GB, free: 41.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.789/3.089, allocations: 7.205 MB / 0.5015 GB, free: 40.07 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)