Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.001043/0.001043, allocations: 102.6 kB / 16.02 MB, free: 76 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.001356/0.001356, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.359/1.359, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.3551/0.3551, allocations: 43.59 MB / 315 MB, free: 9.066 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.0005653/0.0005655, allocations: 19.94 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 58.85 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002963/0.1241, allocations: 1.997 MB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1264, allocations: 1.143 MB / 446.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.1267, allocations: 3.938 kB / 446.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.1275, allocations: 271.3 kB / 447 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.1282, allocations: 251.1 kB / 447.2 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.1292, allocations: 303.5 kB / 447.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000874/0.1301, allocations: 494.5 kB / 448 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.1303, allocations: 57.28 kB / 448 MB, free: 8.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.1308, allocations: 219 kB / 448.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.1313, allocations: 251 kB / 448.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.1314, allocations: 8 kB / 448.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1316, allocations: 55.91 kB / 448.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.1318, allocations: 95.58 kB / 448.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.132, allocations: 192.4 kB / 448.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.1326, allocations: 374.4 kB / 449.2 MB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1326, allocations: 0 / 449.2 MB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1326, allocations: 4 kB / 449.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1326, allocations: 0 / 449.2 MB, free: 7.102 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001217/0.1338, allocations: 0.6894 MB / 449.9 MB, free: 6.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1339, allocations: 8.031 kB / 449.9 MB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.134, allocations: 50.67 kB / 450 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.1341, allocations: 60.28 kB / 450 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.1345, allocations: 396 kB / 450.4 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1346, allocations: 16.36 kB / 450.4 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.1346, allocations: 23.78 kB / 450.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.135, allocations: 202.6 kB / 450.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.135, allocations: 8 kB / 450.7 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1351, allocations: 4 kB / 450.7 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1351, allocations: 4 kB / 450.7 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.1353, allocations: 99.86 kB / 450.8 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.1365, allocations: 0.8487 MB / 451.6 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.1371, allocations: 293.2 kB / 451.9 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.1374, allocations: 104.2 kB / 452 MB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1375, allocations: 4 kB / 452 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/0.1379, allocations: 227.4 kB / 452.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.1379, allocations: 0 / 452.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001957/0.1399, allocations: 0.9763 MB / 453.2 MB, free: 2.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.14, allocations: 166.2 kB / 453.4 MB, free: 2.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.1407, allocations: 0.6159 MB / 454 MB, free: 2.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.1408, allocations: 37.7 kB / 454 MB, free: 1.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1409, allocations: 213.1 kB / 454.2 MB, free: 1.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.141, allocations: 126.3 kB / 454.3 MB, free: 1.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.1411, allocations: 41.69 kB / 454.4 MB, free: 1.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1413, allocations: 366.8 kB / 454.7 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.1415, allocations: 100.8 kB / 454.8 MB, free: 1.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.1418, allocations: 184.8 kB / 455 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.1424, allocations: 296.8 kB / 455.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1424, allocations: 0 / 455.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007045/0.1431, allocations: 408.9 kB / 455.7 MB, free: 184 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1431, allocations: 8 kB / 455.7 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1431, allocations: 0 / 455.7 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.1432, allocations: 4 kB / 455.7 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.1435, allocations: 87.83 kB / 455.8 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1435, allocations: 12.06 kB / 455.8 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.1437, allocations: 32.08 kB / 455.8 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1437, allocations: 12 kB / 455.9 MB, free: 28 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.2156/0.3593, allocations: 201 kB / 456.1 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.3595, allocations: 53.12 kB / 456.1 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.3596, allocations: 64.17 kB / 456.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3596, allocations: 9.094 kB / 456.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.3596, allocations: 6.234 kB / 456.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3596, allocations: 0 / 456.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.3611, allocations: 1.264 MB / 457.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3611, allocations: 2.906 kB / 457.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3612, allocations: 50.7 kB / 457.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3612, allocations: 3.062 kB / 457.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3613, allocations: 17.23 kB / 457.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.3613, allocations: 5.828 kB / 457.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3613, allocations: 6.125 kB / 457.5 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.3619, allocations: 0.8165 MB / 458.4 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.362, allocations: 137.7 kB / 458.5 MB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.3621, allocations: 22.69 kB / 458.5 MB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.3624, allocations: 18.36 kB / 458.5 MB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.3625, allocations: 40.81 kB / 458.6 MB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.3625, allocations: 20.08 kB / 458.6 MB, free: 44.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003703/0.3629, allocations: 455.6 kB / 459 MB, free: 44.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3629, allocations: 0 / 459 MB, free: 44.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005122/0.3634, allocations: 86.55 kB / 459.1 MB, free: 44.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001742/0.3651, allocations: 1.736 MB / 460.9 MB, free: 43.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005342/0.3657, allocations: 292.6 kB / 461.1 MB, free: 43.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3657, allocations: 0 / 461.1 MB, free: 43.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.3659, allocations: 160.6 kB / 461.3 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.3671, allocations: 127.9 kB / 461.4 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.3716, allocations: 4.614 MB / 466 MB, free: 41.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3719, allocations: 0.844 MB / 466.9 MB, free: 40.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.3721, allocations: 86.14 kB / 467 MB, free: 40.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3723, allocations: 179.6 kB / 467.1 MB, free: 40.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3723, allocations: 0 / 467.1 MB, free: 40.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.3924, allocations: 9.698 MB / 476.8 MB, free: 39.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.3926, allocations: 240 kB / 477.1 MB, free: 39.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.523, allocations: 3.938 kB / 477.1 MB, free: 39.37 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)