Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.001452/0.001452, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001274/0.001274, allocations: 192 kB / 18.55 MB, free: 4.566 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.416/1.416, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2301/0.2301, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.39 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.005555/0.1337, allocations: 1.793 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1361, allocations: 0.9588 MB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.1363, allocations: 3.938 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.137, allocations: 299.3 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005467/0.1376, allocations: 207.3 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.1383, allocations: 171 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.1388, allocations: 239.4 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.1389, allocations: 13.55 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.1392, allocations: 127.5 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.1396, allocations: 188 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.1396, allocations: 4 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1398, allocations: 47.98 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.14, allocations: 132.6 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.1402, allocations: 142.8 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.1408, allocations: 351 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1408, allocations: 4 kB / 474 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1408, allocations: 0 / 474 MB, free: 9.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.1408, allocations: 0 / 474 MB, free: 9.594 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001593/0.1424, allocations: 0.7153 MB / 474.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/0.1425, allocations: 8.031 kB / 474.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.1426, allocations: 34.75 kB / 474.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.1428, allocations: 52.28 kB / 474.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008236/0.1436, allocations: 443.8 kB / 475.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1436, allocations: 4.375 kB / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1436, allocations: 3.938 kB / 475.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1439, allocations: 83.36 kB / 475.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1439, allocations: 0 / 475.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1439, allocations: 8 kB / 475.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1439, allocations: 4 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1441, allocations: 31.92 kB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1446, allocations: 374.3 kB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.1449, allocations: 113.1 kB / 475.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-05/0.145, allocations: 37.7 kB / 475.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.145, allocations: 4 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.1454, allocations: 117 kB / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1454, allocations: 4 kB / 476 MB, free: 7.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005747/0.146, allocations: 193 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.1461, allocations: 81.05 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.1474, allocations: 1.007 MB / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1474, allocations: 29.7 kB / 477.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1477, allocations: 232 kB / 477.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.1477, allocations: 27.64 kB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.1478, allocations: 29.72 kB / 477.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.1481, allocations: 366.8 kB / 478 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/0.1481, allocations: 27.98 kB / 478 MB, free: 5.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1483, allocations: 55.41 kB / 478 MB, free: 5.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.1485, allocations: 91.36 kB / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1485, allocations: 3.938 kB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003344/0.1488, allocations: 165.5 kB / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1489, allocations: 8 kB / 478.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1489, allocations: 0 / 478.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1489, allocations: 0 / 478.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.149, allocations: 35.98 kB / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.149, allocations: 0 / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1492, allocations: 11.97 kB / 478.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1492, allocations: 7.938 kB / 478.4 MB, free: 4.941 MB / 350.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.0002436/0.1494, allocations: 225.7 kB / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.1495, allocations: 43.44 kB / 478.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.357e-05/0.1496, allocations: 59.84 kB / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1496, allocations: 0 / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1496, allocations: 0 / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1496, allocations: 0 / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.15, allocations: 349.4 kB / 479 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.15, allocations: 3.938 kB / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.1501, allocations: 4 kB / 479 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1501, allocations: 4 kB / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1501, allocations: 0 / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1501, allocations: 4 kB / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1501, allocations: 3.984 kB / 479 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1505, allocations: 201.2 kB / 479.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.1506, allocations: 140.5 kB / 479.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.1507, allocations: 4 kB / 479.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.1507, allocations: 7.984 kB / 479.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.1508, allocations: 4 kB / 479.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.1508, allocations: 11.98 kB / 479.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007912/0.1516, allocations: 0.7409 MB / 480.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1516, allocations: 4.094 kB / 480.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1519, allocations: 47.92 kB / 480.2 MB, free: 3.004 MB / 350.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.001515/0.1534, allocations: 1.043 MB / 481.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1537, allocations: 91.83 kB / 481.3 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1538, allocations: 8.062 kB / 481.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1539, allocations: 35.98 kB / 481.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.1543, allocations: 73.95 kB / 481.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.1599, allocations: 4.521 MB / 486 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.1606, allocations: 0.8425 MB / 486.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.1607, allocations: 62.94 kB / 486.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.161, allocations: 139.4 kB / 487 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.161, allocations: 0 / 487 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.1885, allocations: 8.605 MB / 495.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.925, allocations: 10.81 kB / 495.6 MB, free: 3.695 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)