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.0009536/0.0009536, allocations: 96.17 kB / 16.98 MB, free: 5.938 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.0009551/0.0009551, allocations: 186 kB / 17.88 MB, free: 5.594 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.449/1.449, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2319/0.2319, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 12.62 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002201/0.134, allocations: 1.465 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1357, allocations: 0.866 MB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1359, allocations: 0 / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.1366, allocations: 279.4 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.1371, allocations: 191.5 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.1377, allocations: 143.3 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.1381, allocations: 167.6 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.1382, allocations: 9.547 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.1385, allocations: 115.6 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.1388, allocations: 135.7 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1388, allocations: 7.938 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.139, allocations: 31.92 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1392, allocations: 127.7 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1393, allocations: 81.45 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.1397, allocations: 271.8 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1397, allocations: 0 / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1397, allocations: 3.938 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.1397, allocations: 0 / 475.4 MB, free: 9.785 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.001143/0.1409, allocations: 0.6648 MB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1409, allocations: 8.031 kB / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.141, allocations: 30.56 kB / 476.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1411, allocations: 55.34 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007156/0.1419, allocations: 411.2 kB / 476.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1419, allocations: 8 kB / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1419, allocations: 7.953 kB / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1421, allocations: 87.3 kB / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1421, allocations: 0 / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1422, allocations: 0 / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1422, allocations: 0 / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1423, allocations: 35.97 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.1428, allocations: 366.3 kB / 477.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.143, allocations: 105.3 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1431, allocations: 4 kB / 477.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1433, allocations: 117 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1433, allocations: 0 / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004692/0.1438, allocations: 189.4 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1438, allocations: 85.11 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1449, allocations: 1.007 MB / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.145, allocations: 29.7 kB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1451, allocations: 224.1 kB / 478.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.1452, allocations: 35.62 kB / 478.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.1452, allocations: 0 / 478.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1453, allocations: 366.8 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.1454, allocations: 27.98 kB / 479.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.534e-05/0.1455, allocations: 67.34 kB / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.1456, allocations: 36.12 kB / 479.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1456, allocations: 3.938 kB / 479.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003015/0.1459, allocations: 164.9 kB / 479.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.146, allocations: 7.953 kB / 479.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.146, allocations: 0 / 479.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.146, allocations: 8.062 kB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1461, allocations: 27.92 kB / 479.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1462, allocations: 7.938 kB / 479.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1463, allocations: 7.906 kB / 479.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1463, allocations: 4 kB / 479.6 MB, free: 5.367 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.1465, allocations: 222.3 kB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.1466, allocations: 47.44 kB / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/0.1467, allocations: 59.8 kB / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1467, allocations: 8 kB / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1467, allocations: 0 / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1467, allocations: 0 / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1471, allocations: 333.5 kB / 480.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1471, allocations: 3.938 kB / 480.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.1471, allocations: 8 kB / 480.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1471, allocations: 0 / 480.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1471, allocations: 4 kB / 480.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1472, allocations: 3.953 kB / 480.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1472, allocations: 0 / 480.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.1475, allocations: 223.1 kB / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1477, allocations: 136.5 kB / 480.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.1478, allocations: 15.94 kB / 480.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1479, allocations: 4 kB / 480.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1479, allocations: 7.984 kB / 480.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1479, allocations: 8 kB / 480.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008104/0.1488, allocations: 0.7487 MB / 481.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1488, allocations: 0 / 481.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1491, allocations: 47.89 kB / 481.4 MB, free: 3.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.1506, allocations: 1.124 MB / 482.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1508, allocations: 91.83 kB / 482.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1509, allocations: 0 / 482.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.151, allocations: 39.98 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1514, allocations: 56.3 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.1558, allocations: 3.193 MB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.1563, allocations: 0.8468 MB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.1565, allocations: 62.88 kB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.1566, allocations: 143.3 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1567, allocations: 8 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.1817, allocations: 7.859 MB / 494.8 MB, free: 6.152 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.1819, allocations: 212.8 kB / 495 MB, free: 5.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.008, allocations: 0 / 495 MB, free: 5.914 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat