Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",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.000898/0.000898, allocations: 175.4 kB / 16.72 MB, free: 5.078 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.285/1.285, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007755/0.0007757, allocations: 85.42 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.3315/0.3315, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 19.98 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1045, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00212/0.1067, allocations: 1.476 MB / 492.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1081, allocations: 0.824 MB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1082, allocations: 0 / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.1087, allocations: 299.4 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1091, allocations: 199.5 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1095, allocations: 115.8 kB / 493.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1098, allocations: 211.3 kB / 494 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.1099, allocations: 13.55 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1101, allocations: 115.6 kB / 494.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1103, allocations: 163.5 kB / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.1104, allocations: 4 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1105, allocations: 32 kB / 494.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1106, allocations: 135.6 kB / 494.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1108, allocations: 164.6 kB / 494.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.1111, allocations: 275.8 kB / 494.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1111, allocations: 0 / 494.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1111, allocations: 0 / 494.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1111, allocations: 0 / 494.9 MB, free: 6.762 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.0008758/0.112, allocations: 0.6684 MB / 495.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1121, allocations: 12.03 kB / 495.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.1121, allocations: 30.75 kB / 495.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.1122, allocations: 52.28 kB / 495.7 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.1128, allocations: 451.9 kB / 496.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1128, allocations: 4.375 kB / 496.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1128, allocations: 7.938 kB / 496.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.113, allocations: 87.34 kB / 496.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1131, allocations: 3.938 kB / 496.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1131, allocations: 0 / 496.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1131, allocations: 0 / 496.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1132, allocations: 35.95 kB / 496.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1136, allocations: 382.3 kB / 496.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1139, allocations: 105.1 kB / 496.7 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.699e-05/0.114, allocations: 41.7 kB / 496.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.114, allocations: 4 kB / 496.8 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.1143, allocations: 109 kB / 496.9 MB, free: 4.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1143, allocations: 0 / 496.9 MB, free: 4.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004891/0.1148, allocations: 204.9 kB / 497.1 MB, free: 4.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.1148, allocations: 81.05 kB / 497.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1159, allocations: 1.03 MB / 498.2 MB, free: 3.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.116, allocations: 33.7 kB / 498.2 MB, free: 3.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1161, allocations: 236 kB / 498.5 MB, free: 2.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.1162, allocations: 27.64 kB / 498.5 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1162, allocations: 0 / 498.5 MB, free: 2.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1164, allocations: 370.8 kB / 498.8 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.1165, allocations: 31.98 kB / 498.9 MB, free: 2.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.1165, allocations: 55.42 kB / 498.9 MB, free: 2.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1167, allocations: 87.34 kB / 499 MB, free: 2.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1167, allocations: 3.938 kB / 499 MB, free: 2.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002972/0.117, allocations: 173.5 kB / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1171, allocations: 11.98 kB / 499.2 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1171, allocations: 0 / 499.2 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1171, allocations: 0 / 499.2 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1172, allocations: 20.06 kB / 499.2 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1172, allocations: 7.984 kB / 499.2 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1173, allocations: 8 kB / 499.2 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1174, allocations: 8 kB / 499.2 MB, free: 2.145 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.0002109/0.1176, allocations: 233.5 kB / 499.5 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.1177, allocations: 51.34 kB / 499.5 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.1177, allocations: 60 kB / 499.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1177, allocations: 0 / 499.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1178, allocations: 0 / 499.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1178, allocations: 0 / 499.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.1181, allocations: 345.4 kB / 499.9 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1181, allocations: 0 / 499.9 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.1182, allocations: 8 kB / 499.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1182, allocations: 4 kB / 499.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1182, allocations: 11.98 kB / 499.9 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1182, allocations: 0 / 499.9 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1182, allocations: 0 / 499.9 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1185, allocations: 201.2 kB / 0.4884 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1186, allocations: 148.4 kB / 0.4886 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1187, allocations: 4 kB / 0.4886 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.1188, allocations: 8 kB / 0.4886 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.1188, allocations: 12.08 kB / 0.4886 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1189, allocations: 7.938 kB / 0.4886 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007641/0.1196, allocations: 0.7721 MB / 0.4893 GB, free: 208 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1196, allocations: 0 / 0.4893 GB, free: 208 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.1199, allocations: 43.98 kB / 0.4894 GB, free: 164 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.1767/0.2966, allocations: 1.048 MB / 0.4904 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.2969, allocations: 81.59 kB / 0.4905 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2969, allocations: 0.9688 kB / 0.4905 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.297, allocations: 41.27 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.000547/0.2976, allocations: 59.25 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.004535/0.3022, allocations: 2.969 MB / 0.4935 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3025, allocations: 0.8381 MB / 0.4943 GB, free: 41.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.3027, allocations: 152.4 kB / 0.4944 GB, free: 41.26 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3027, allocations: 0 / 0.4944 GB, free: 41.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.818/3.121, allocations: 7.198 MB / 0.5015 GB, free: 40.22 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)