Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.0008621/0.0008621, allocations: 98.44 kB / 16.99 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.0008329/0.0008329, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 392 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.2173/0.2173, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 16 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002165/0.1407, allocations: 1.391 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.142, allocations: 0.8113 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.1421, allocations: 0 / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1424, allocations: 31.89 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1426, allocations: 43.83 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1428, allocations: 95.64 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.143, allocations: 71.84 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.1431, allocations: 8.234 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.1432, allocations: 39.83 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.1433, allocations: 23.86 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1433, allocations: 4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1434, allocations: 43.91 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.1435, allocations: 15.92 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.1435, allocations: 33.7 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1437, allocations: 100.1 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1437, allocations: 3.938 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1437, allocations: 3.938 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1437, allocations: 0 / 474.3 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.0005074/0.1443, allocations: 394.9 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1443, allocations: 8.031 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.1444, allocations: 34.56 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.1444, allocations: 11.91 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1446, allocations: 194.9 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1447, allocations: 11.95 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1447, allocations: 4 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1449, allocations: 75.31 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1449, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1449, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1449, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.886e-05/0.145, allocations: 19.98 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.1453, allocations: 284.8 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1455, allocations: 66.55 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1455, allocations: 0 / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1457, allocations: 67.52 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.1457, allocations: 4 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005337/0.1463, allocations: 193.3 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1463, allocations: 85.05 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1465, allocations: 158.2 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1465, allocations: 29.7 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.1466, allocations: 96.31 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1466, allocations: 27.64 kB / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1466, allocations: 4 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1467, allocations: 334.7 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.1468, allocations: 27.98 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.1469, allocations: 50.55 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/0.147, allocations: 32 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.147, allocations: 0 / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002024/0.1472, allocations: 121.4 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1472, allocations: 8.062 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1472, allocations: 7.984 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1472, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.1473, allocations: 16 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1473, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.1474, allocations: 11.98 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1474, allocations: 12.02 kB / 476.6 MB, free: 8.324 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 (13): * Single equations (assignments): 13 * 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 9.77e-05/0.1475, allocations: 130.2 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1475, allocations: 7.906 kB / 476.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.1476, allocations: 25.17 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1476, allocations: 0 / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1476, allocations: 0 / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1476, allocations: 0 / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.1481, allocations: 419.1 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1481, allocations: 0 / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.1481, allocations: 16.02 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1481, allocations: 4 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1482, allocations: 4 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1482, allocations: 0 / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1482, allocations: 8 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1484, allocations: 225.9 kB / 477.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.1485, allocations: 89.02 kB / 477.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1485, allocations: 7.984 kB / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.1486, allocations: 4 kB / 477.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1486, allocations: 7.953 kB / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.1487, allocations: 7.984 kB / 477.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.1488, allocations: 117.3 kB / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1488, allocations: 0 / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.149, allocations: 35.98 kB / 477.7 MB, free: 7.125 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 (10): * Single equations (assignments): 8 * 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.001521/0.1506, allocations: 1.249 MB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1508, allocations: 75.84 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1508, allocations: 4.062 kB / 479 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.1509, allocations: 39.92 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1511, allocations: 27.92 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.1518, allocations: 0.5898 MB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1521, allocations: 0.7043 MB / 480.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.461e-05/0.1522, allocations: 28.62 kB / 480.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.1523, allocations: 35.42 kB / 480.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of SimCode: time 1.903e-06/0.1523, allocations: 0 / 480.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.1659, allocations: 3.225 MB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.1662, allocations: 233.7 kB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.924, allocations: 0 / 483.9 MB, free: 1.137 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat does not exist to compare? outputFormat=mat