Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",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.001197/0.001198, allocations: 172.8 kB / 16.72 MB, free: 5.082 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.342/1.342, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007016/0.0007015, allocations: 94.34 kB / 271.2 MB, free: 8.254 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.2878/0.2878, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004275, allocations: 16 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.104, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002013/0.1061, allocations: 1.479 MB / 492.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1074, allocations: 0.8162 MB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.1075, allocations: 4 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.108, allocations: 299.4 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1083, allocations: 195.5 kB / 493.7 MB, free: 8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1087, allocations: 123.8 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1089, allocations: 207.3 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.109, allocations: 17.53 kB / 494.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1092, allocations: 115.6 kB / 494.2 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1093, allocations: 159.6 kB / 494.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1094, allocations: 4 kB / 494.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1095, allocations: 35.98 kB / 494.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1096, allocations: 135.6 kB / 494.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1097, allocations: 156.7 kB / 494.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.11, allocations: 271.8 kB / 494.9 MB, free: 6.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.11, allocations: 0 / 494.9 MB, free: 6.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.11, allocations: 4 kB / 494.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.11, allocations: 4 kB / 494.9 MB, free: 6.777 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.00077/0.1108, allocations: 0.6688 MB / 495.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1109, allocations: 8.031 kB / 495.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.1109, allocations: 34.73 kB / 495.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.111, allocations: 52.28 kB / 495.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.1115, allocations: 443.9 kB / 496.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1115, allocations: 12.36 kB / 496.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1115, allocations: 7.938 kB / 496.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1117, allocations: 87.31 kB / 496.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1117, allocations: 0 / 496.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1117, allocations: 3.984 kB / 496.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1117, allocations: 0 / 496.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.1118, allocations: 27.98 kB / 496.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.1122, allocations: 378.3 kB / 496.6 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1125, allocations: 113.1 kB / 496.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1126, allocations: 41.69 kB / 496.8 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1126, allocations: 4 kB / 496.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.1128, allocations: 112.9 kB / 496.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1128, allocations: 4 kB / 496.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004038/0.1132, allocations: 192.9 kB / 497.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.1133, allocations: 89.09 kB / 497.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000961/0.1143, allocations: 1.03 MB / 498.2 MB, free: 3.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1143, allocations: 29.7 kB / 498.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1145, allocations: 236 kB / 498.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.1145, allocations: 31.64 kB / 498.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.1145, allocations: 0 / 498.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1147, allocations: 366.8 kB / 498.8 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.1147, allocations: 23.98 kB / 498.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-05/0.1148, allocations: 71.41 kB / 498.9 MB, free: 2.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.115, allocations: 87.36 kB / 499 MB, free: 2.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.115, allocations: 3.938 kB / 499 MB, free: 2.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002643/0.1153, allocations: 173.5 kB / 499.2 MB, free: 2.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1153, allocations: 4 kB / 499.2 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1153, allocations: 0 / 499.2 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1153, allocations: 4 kB / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1154, allocations: 24.05 kB / 499.2 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1155, allocations: 4 kB / 499.2 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.1155, allocations: 8 kB / 499.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1156, allocations: 7.984 kB / 499.2 MB, free: 2.156 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.0001957/0.1158, allocations: 237.5 kB / 499.5 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.1158, allocations: 51.34 kB / 499.5 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/0.1159, allocations: 56 kB / 499.6 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1159, allocations: 4 kB / 499.6 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1159, allocations: 0 / 499.6 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1159, allocations: 3.984 kB / 499.6 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.1162, allocations: 337.4 kB / 499.9 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1162, allocations: 0 / 499.9 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1162, allocations: 11.98 kB / 499.9 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1162, allocations: 0 / 499.9 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1163, allocations: 0 / 499.9 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1163, allocations: 8 kB / 499.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1163, allocations: 0 / 499.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1166, allocations: 209.1 kB / 0.4884 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1167, allocations: 144.4 kB / 0.4886 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.1168, allocations: 8 kB / 0.4886 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.1168, allocations: 7.984 kB / 0.4886 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1169, allocations: 11.94 kB / 0.4886 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1169, allocations: 11.98 kB / 0.4886 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006989/0.1176, allocations: 0.7682 MB / 0.4893 GB, free: 216 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1176, allocations: 0 / 0.4893 GB, free: 216 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000233/0.1179, allocations: 40 kB / 0.4894 GB, free: 176 kB / 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.185/0.3028, allocations: 1.047 MB / 0.4904 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.3033, allocations: 80.59 kB / 0.4905 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3033, allocations: 0 / 0.4905 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.3035, allocations: 46.38 kB / 0.4905 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.3042, allocations: 68.95 kB / 0.4906 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006587/0.3108, allocations: 2.959 MB / 0.4935 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3112, allocations: 0.844 MB / 0.4943 GB, free: 41.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.3115, allocations: 146.2 kB / 0.4945 GB, free: 41.25 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3115, allocations: 0 / 0.4945 GB, free: 41.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.822/3.133, allocations: 7.201 MB / 0.5015 GB, free: 40.22 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)