Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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/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 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 206.4 kB / 16.79 MB, free: 6.84 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.453/1.453, allocations: 205.1 MB / 222.6 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3424/0.3424, allocations: 43.5 MB / 313.5 MB, free: 8.594 MB / 254.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.001318/0.001318, allocations: 70.56 kB / 382.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 57.78 MB / 439.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002885/0.1091, allocations: 1.85 MB / 441.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1104, allocations: 0.8625 MB / 442.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.1105, allocations: 0 / 442.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.111, allocations: 299.4 kB / 442.9 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1113, allocations: 207.5 kB / 443.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1116, allocations: 131.8 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1118, allocations: 227.4 kB / 443.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.1119, allocations: 21.47 kB / 443.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.112, allocations: 115.5 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1122, allocations: 191.5 kB / 443.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1122, allocations: 0 / 443.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.1123, allocations: 47.97 kB / 443.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1125, allocations: 135.6 kB / 444 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1126, allocations: 150.8 kB / 444.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1129, allocations: 355 kB / 444.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1129, allocations: 0 / 444.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1129, allocations: 0 / 444.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1129, allocations: 0 / 444.5 MB, free: 10.44 MB / 382.1 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.0007968/0.1137, allocations: 0.7307 MB / 445.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1138, allocations: 8.031 kB / 445.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.1138, allocations: 34.75 kB / 445.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.1139, allocations: 48.38 kB / 445.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.1144, allocations: 455.7 kB / 445.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1144, allocations: 4.375 kB / 445.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1144, allocations: 3.938 kB / 445.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1146, allocations: 91.33 kB / 445.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1146, allocations: 0 / 445.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1147, allocations: 4 kB / 445.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1147, allocations: 0 / 445.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1148, allocations: 35.91 kB / 445.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1151, allocations: 374.4 kB / 446.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1154, allocations: 113.1 kB / 446.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.1155, allocations: 41.7 kB / 446.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1155, allocations: 0 / 446.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.1158, allocations: 109 kB / 446.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1158, allocations: 0 / 446.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004365/0.1162, allocations: 197.4 kB / 446.7 MB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1163, allocations: 81.05 kB / 446.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.1172, allocations: 1.034 MB / 447.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1172, allocations: 29.7 kB / 447.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1174, allocations: 236 kB / 448.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.1174, allocations: 27.66 kB / 448.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1175, allocations: 29.7 kB / 448.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1176, allocations: 366.7 kB / 448.5 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.1177, allocations: 31.98 kB / 448.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.1178, allocations: 59.41 kB / 448.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.118, allocations: 91.42 kB / 448.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.118, allocations: 3.938 kB / 448.7 MB, free: 5.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002673/0.1183, allocations: 168.9 kB / 448.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1183, allocations: 8 kB / 448.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1183, allocations: 0 / 448.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1183, allocations: 0 / 448.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1184, allocations: 27.92 kB / 448.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1184, allocations: 0 / 448.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.931e-05/0.1185, allocations: 15.88 kB / 448.9 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1186, allocations: 4 kB / 448.9 MB, free: 5.73 MB / 382.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.1188, allocations: 237.6 kB / 449.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.1188, allocations: 51.34 kB / 449.2 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.1189, allocations: 59.94 kB / 449.2 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1189, allocations: 4 kB / 449.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1189, allocations: 0 / 449.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1189, allocations: 0 / 449.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1192, allocations: 349.3 kB / 449.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1192, allocations: 0 / 449.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.1193, allocations: 8.125 kB / 449.6 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1193, allocations: 8 kB / 449.6 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1193, allocations: 3.984 kB / 449.6 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1193, allocations: 4 kB / 449.6 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1193, allocations: 0 / 449.6 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1196, allocations: 201.3 kB / 449.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1197, allocations: 136.4 kB / 449.9 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1198, allocations: 7.984 kB / 449.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1198, allocations: 7.984 kB / 449.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1199, allocations: 11.98 kB / 449.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1199, allocations: 8 kB / 450 MB, free: 4.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.1206, allocations: 0.7682 MB / 450.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1206, allocations: 0 / 450.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1209, allocations: 40 kB / 450.8 MB, free: 3.75 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/0.1222, allocations: 1.057 MB / 451.8 MB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1225, allocations: 79.91 kB / 451.9 MB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1225, allocations: 0 / 451.9 MB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.1226, allocations: 35.97 kB / 451.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.123, allocations: 89.7 kB / 452 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1576/0.2806, allocations: 4.673 MB / 456.7 MB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.2809, allocations: 0.8434 MB / 457.5 MB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.2811, allocations: 56.67 kB / 457.6 MB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2813, allocations: 148.7 kB / 457.7 MB, free: 45.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2813, allocations: 0 / 457.7 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.2985, allocations: 8.482 MB / 466.2 MB, free: 44.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.2987, allocations: 244.7 kB / 466.5 MB, free: 44.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.069, allocations: 0 / 466.5 MB, free: 44.03 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)