Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.004387/0.004387, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.3343/0.3343, allocations: 43.5 MB / 313.5 MB, free: 8.52 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.001292/0.001292, allocations: 67.89 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1068, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003306/0.1101, allocations: 1.85 MB / 441.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1115, allocations: 0.8626 MB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.1116, allocations: 0 / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.1121, allocations: 303.4 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.1124, allocations: 195.5 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1128, allocations: 127.8 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.113, allocations: 239.3 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.1131, allocations: 13.53 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1133, allocations: 115.6 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1134, allocations: 191.5 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1135, allocations: 4 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.1136, allocations: 39.98 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.1137, allocations: 147.5 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1138, allocations: 142.8 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1141, allocations: 351 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1141, allocations: 0 / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1141, allocations: 3.938 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1141, allocations: 0 / 444.5 MB, free: 10.15 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.0007778/0.1149, allocations: 0.7385 MB / 445.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.115, allocations: 8.031 kB / 445.2 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.115, allocations: 42.73 kB / 445.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.1151, allocations: 48.31 kB / 445.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.1155, allocations: 439.9 kB / 445.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1156, allocations: 4.375 kB / 445.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1156, allocations: 15.92 kB / 445.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1158, allocations: 75.38 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1158, allocations: 4 kB / 445.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1158, allocations: 4 kB / 445.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1158, allocations: 0 / 445.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1159, allocations: 31.91 kB / 445.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.1162, allocations: 374.4 kB / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1165, allocations: 113.1 kB / 446.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.1166, allocations: 41.69 kB / 446.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.1166, allocations: 3.984 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.1169, allocations: 117 kB / 446.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1169, allocations: 0 / 446.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004193/0.1173, allocations: 189.4 kB / 446.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1173, allocations: 85.05 kB / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.1182, allocations: 1.034 MB / 447.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1183, allocations: 25.7 kB / 447.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1184, allocations: 240 kB / 448.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.1185, allocations: 31.64 kB / 448.1 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1185, allocations: 25.72 kB / 448.1 MB, free: 6.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1186, allocations: 370.8 kB / 448.5 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1187, allocations: 36.03 kB / 448.5 MB, free: 5.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.1188, allocations: 55.36 kB / 448.6 MB, free: 5.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.119, allocations: 87.36 kB / 448.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.119, allocations: 3.938 kB / 448.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002679/0.1193, allocations: 168.9 kB / 448.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1193, allocations: 4 kB / 448.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1193, allocations: 0 / 448.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1193, allocations: 4 kB / 448.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1194, allocations: 35.92 kB / 448.9 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1194, allocations: 4 kB / 448.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.1195, allocations: 7.938 kB / 448.9 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1196, allocations: 7.984 kB / 448.9 MB, free: 5.434 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.0001755/0.1197, allocations: 225.6 kB / 449.1 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.1198, allocations: 51.28 kB / 449.2 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.1199, allocations: 60 kB / 449.2 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1199, allocations: 0 / 449.2 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1199, allocations: 3.984 kB / 449.2 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1199, allocations: 8 kB / 449.2 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.1202, allocations: 341.4 kB / 449.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1202, allocations: 4 kB / 449.6 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1202, allocations: 11.98 kB / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1202, allocations: 0 / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1202, allocations: 8 kB / 449.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1202, allocations: 0 / 449.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1202, allocations: 0 / 449.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1205, allocations: 205.2 kB / 449.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1207, allocations: 136.5 kB / 449.9 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.1207, allocations: 3.984 kB / 449.9 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1208, allocations: 8 kB / 449.9 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1208, allocations: 7.984 kB / 449.9 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1209, allocations: 4 kB / 449.9 MB, free: 4.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006664/0.1215, allocations: 0.7721 MB / 450.7 MB, free: 3.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1215, allocations: 4 kB / 450.7 MB, free: 3.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1218, allocations: 40 kB / 450.8 MB, free: 3.465 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.00128/0.1231, allocations: 1.057 MB / 451.8 MB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1233, allocations: 83.91 kB / 451.9 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1233, allocations: 0 / 451.9 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.1234, allocations: 43.97 kB / 451.9 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1238, allocations: 66.12 kB / 452 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1643/0.2881, allocations: 4.678 MB / 456.7 MB, free: 47.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.2884, allocations: 0.8495 MB / 457.5 MB, free: 46.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.2885, allocations: 53.06 kB / 457.6 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2886, allocations: 144.8 kB / 457.7 MB, free: 46.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2887, allocations: 2.734 kB / 457.7 MB, free: 46.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.3048, allocations: 8.483 MB / 466.2 MB, free: 46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.305, allocations: 237.5 kB / 466.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.057, allocations: 4 kB / 466.5 MB, free: 45.75 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)