Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_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.0006869/0.0006869, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0007717/0.0007718, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 8 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 61.93 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002266/0.1103, allocations: 1.985 MB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1121, allocations: 1.259 MB / 475.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1122, allocations: 3.938 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.1127, allocations: 271.3 kB / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.1131, allocations: 251.1 kB / 476.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.1138, allocations: 336.8 kB / 476.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.1142, allocations: 498.5 kB / 476.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1144, allocations: 45.08 kB / 477 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1146, allocations: 219 kB / 477.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.1149, allocations: 255 kB / 477.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.1149, allocations: 8 kB / 477.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.115, allocations: 51.84 kB / 477.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1151, allocations: 95.59 kB / 477.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1153, allocations: 192.4 kB / 477.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1156, allocations: 378.7 kB / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1156, allocations: 3.984 kB / 478.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1156, allocations: 4 kB / 478.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1156, allocations: 0 / 478.2 MB, free: 7.383 MB / 350.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.0009247/0.1166, allocations: 0.6877 MB / 478.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1166, allocations: 8.031 kB / 478.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.1167, allocations: 54.67 kB / 478.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.1168, allocations: 52.28 kB / 479 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.1172, allocations: 400 kB / 479.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1172, allocations: 8.375 kB / 479.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.1173, allocations: 23.92 kB / 479.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1176, allocations: 194.8 kB / 479.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1176, allocations: 4 kB / 479.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1177, allocations: 11.98 kB / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1177, allocations: 4 kB / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.1179, allocations: 95.88 kB / 479.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007539/0.1187, allocations: 0.8565 MB / 480.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.1192, allocations: 293.2 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.1194, allocations: 92.27 kB / 480.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1195, allocations: 11.98 kB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.1199, allocations: 235.4 kB / 481.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.1199, allocations: 0 / 481.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001774/0.1217, allocations: 0.9837 MB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.1218, allocations: 166.2 kB / 482.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.1223, allocations: 0.6121 MB / 482.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1224, allocations: 41.69 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1225, allocations: 217 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1226, allocations: 126.3 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1227, allocations: 33.7 kB / 483.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1228, allocations: 370.8 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.123, allocations: 100.8 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.1233, allocations: 184.8 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.1238, allocations: 300.5 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1238, allocations: 0 / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007286/0.1246, allocations: 400.7 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1246, allocations: 4 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1246, allocations: 4 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1246, allocations: 4 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.1249, allocations: 91.77 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1249, allocations: 4 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1251, allocations: 32.08 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.1252, allocations: 16 kB / 484.8 MB, free: 320 kB / 350.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.0001974/0.1254, allocations: 204.3 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.1254, allocations: 59.25 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.1256, allocations: 59.98 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1256, allocations: 8 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1256, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1256, allocations: 13.41 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.1271, allocations: 1.269 MB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1271, allocations: 4 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1272, allocations: 43.92 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1272, allocations: 4 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.1273, allocations: 19.92 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1273, allocations: 4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1273, allocations: 7.938 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.1282, allocations: 0.8127 MB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1283, allocations: 140.3 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.1284, allocations: 23.92 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.1287, allocations: 19.98 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.1288, allocations: 31.95 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.1288, allocations: 24 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004877/0.1293, allocations: 458.8 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1293, allocations: 0 / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.1299, allocations: 83.98 kB / 488.1 MB, free: 12.91 MB / 366.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.00199/0.1319, allocations: 1.728 MB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.1324, allocations: 287.9 kB / 490.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1324, allocations: 0 / 490.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.1327, allocations: 151.8 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.1339, allocations: 123.8 kB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.139, allocations: 4.625 MB / 495 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1394, allocations: 0.8476 MB / 495.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.1396, allocations: 87.38 kB / 495.9 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.1399, allocations: 175.4 kB / 496.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1399, allocations: 0 / 496.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.1621, allocations: 9.708 MB / 0.4939 GB, free: 11.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.1624, allocations: 244.9 kB / 0.4942 GB, free: 11.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.067, allocations: 0 / 0.4942 GB, free: 11.04 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)