Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001273/0.001273, allocations: 95.73 kB / 17 MB, free: 6.402 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.001543/0.001543, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.341/1.341, allocations: 223.3 MB / 241.9 MB, free: 320 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.2005/0.2005, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003108, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002527/0.1334, allocations: 1.394 MB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1348, allocations: 0.8036 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1349, allocations: 0 / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.1353, allocations: 31.83 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.1355, allocations: 43.84 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1358, allocations: 91.45 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.136, allocations: 87.69 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.1361, allocations: 4.234 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1362, allocations: 39.78 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.1363, allocations: 27.86 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1363, allocations: 0 / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1365, allocations: 39.97 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1365, allocations: 19.92 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.1366, allocations: 41.64 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1368, allocations: 76.11 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1368, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1368, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1368, allocations: 0 / 474.4 MB, free: 10.91 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.0006066/0.1374, allocations: 398.9 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1375, allocations: 12.02 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.1375, allocations: 42.55 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.1376, allocations: 7.906 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1378, allocations: 198.9 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1379, allocations: 4 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1379, allocations: 7.953 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1381, allocations: 57.61 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1381, allocations: 0 / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.1381, allocations: 8 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1381, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.1382, allocations: 15.98 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1387, allocations: 296.8 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1388, allocations: 54.62 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1389, allocations: 20.84 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1389, allocations: 4 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1391, allocations: 67.39 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1392, allocations: 0 / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000571/0.1397, allocations: 173.3 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1398, allocations: 51.41 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.14, allocations: 168.5 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.14, allocations: 29.7 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1401, allocations: 104 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1401, allocations: 27.64 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1401, allocations: 4 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1403, allocations: 330.7 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.1403, allocations: 16 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.1404, allocations: 41.64 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.1405, allocations: 20 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1405, allocations: 0 / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.1407, allocations: 105.6 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1407, allocations: 8.031 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1407, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1407, allocations: 4 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.1408, allocations: 15.98 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1408, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1409, allocations: 4 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1409, allocations: 4 kB / 476.6 MB, free: 8.426 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.000109/0.141, allocations: 130.3 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.141, allocations: 11.91 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.1411, allocations: 12.72 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1411, allocations: 0 / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1411, allocations: 0 / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1411, allocations: 0 / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1416, allocations: 399.2 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1416, allocations: 0 / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.1417, allocations: 16.3 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1417, allocations: 4.031 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1417, allocations: 192 / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.1417, allocations: 8 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1417, allocations: 3.938 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1419, allocations: 204.2 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.142, allocations: 85 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.142, allocations: 4 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1421, allocations: 12 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1422, allocations: 11.91 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1422, allocations: 4 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1423, allocations: 138.8 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1423, allocations: 0 / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1426, allocations: 23.98 kB / 477.7 MB, free: 7.273 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.001613/0.1442, allocations: 1.09 MB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1444, allocations: 59.91 kB / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1444, allocations: 0 / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.1445, allocations: 32.09 kB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1449, allocations: 35.98 kB / 478.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1461, allocations: 0.6765 MB / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1464, allocations: 0.7041 MB / 480.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.202e-05/0.1465, allocations: 12.88 kB / 480.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.1466, allocations: 35.42 kB / 480.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1466, allocations: 0 / 480.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.1605, allocations: 2.858 MB / 483.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.1607, allocations: 226 kB / 483.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.128, allocations: 0 / 483.4 MB, free: 1.73 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat