Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.0008734/0.0008733, allocations: 97.7 kB / 16.99 MB, free: 5.941 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.0008567/0.0008567, allocations: 181.7 kB / 17.87 MB, free: 5.609 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.363/1.363, allocations: 223.2 MB / 241.8 MB, free: 408 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.2149/0.2149, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004346, allocations: 9.531 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1437, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002089/0.1458, allocations: 1.387 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.147, allocations: 0.788 MB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.1471, allocations: 0 / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1474, allocations: 35.78 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1476, allocations: 43.88 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1478, allocations: 99.08 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.148, allocations: 59.86 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.1481, allocations: 4.234 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.1482, allocations: 39.83 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.1483, allocations: 23.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1483, allocations: 4 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-05/0.1484, allocations: 27.98 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.1484, allocations: 15.92 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.1485, allocations: 41.64 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1486, allocations: 80.09 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1486, allocations: 3.938 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1486, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1486, allocations: 0 / 474.2 MB, free: 11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005438/0.1492, allocations: 391 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1492, allocations: 8.031 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.1493, allocations: 38.55 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.1493, allocations: 7.906 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1496, allocations: 205.7 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1496, allocations: 3.938 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1496, allocations: 11.94 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1498, allocations: 53.67 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1498, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1498, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1498, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.1499, allocations: 19.98 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1503, allocations: 284.9 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1505, allocations: 62.61 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1505, allocations: 0 / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1507, allocations: 63.52 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1507, allocations: 0 / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.1512, allocations: 177.2 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1513, allocations: 55.34 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1514, allocations: 163 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1514, allocations: 25.7 kB / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.1515, allocations: 100.1 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1516, allocations: 23.66 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.1516, allocations: 0 / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1517, allocations: 326.8 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.1517, allocations: 27.92 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.1518, allocations: 37.7 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/0.1519, allocations: 20 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1519, allocations: 0 / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.1521, allocations: 101.5 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1521, allocations: 4 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1521, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1521, allocations: 8.031 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.1522, allocations: 12 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1522, allocations: 0 / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1523, allocations: 7.984 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1523, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001021/0.1524, allocations: 130.3 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.1524, allocations: 7.906 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.1525, allocations: 20.8 kB / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1525, allocations: 8 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1525, allocations: 0.5625 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1525, allocations: 0 / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.1529, allocations: 403.1 kB / 476.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1529, allocations: 0 / 476.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.153, allocations: 8 kB / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.153, allocations: 0 / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.153, allocations: 8 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.153, allocations: 4.031 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.153, allocations: 3.984 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1532, allocations: 210 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.1533, allocations: 89.02 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1533, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.1534, allocations: 7.984 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.1535, allocations: 15.88 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1535, allocations: 4 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1536, allocations: 130.8 kB / 477.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 0 / 477.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1538, allocations: 27.98 kB / 477.4 MB, free: 7.41 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001473/0.1553, allocations: 1.154 MB / 478.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.1555, allocations: 63.91 kB / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1555, allocations: 0 / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.1556, allocations: 31.92 kB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1559, allocations: 26.75 kB / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.157, allocations: 0.7986 MB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1574, allocations: 0.7043 MB / 480.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1574, allocations: 16.86 kB / 480.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.1575, allocations: 35.42 kB / 480.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1575, allocations: 0 / 480.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.1705, allocations: 2.796 MB / 483.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.1707, allocations: 212.8 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.903, allocations: 4.062 kB / 483.3 MB, free: 1.742 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat