Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.0008622, allocations: 95.5 kB / 17 MB, free: 6.418 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.0007578/0.0007579, allocations: 189.4 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.397/1.397, allocations: 223.2 MB / 241.9 MB, free: 232 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.2246/0.2246, allocations: 44.22 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002233/0.1381, allocations: 1.614 MB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1395, allocations: 0.9596 MB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1396, allocations: 7.938 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.1403, allocations: 183.6 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1405, allocations: 127.5 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.141, allocations: 186.8 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1413, allocations: 227.3 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.1414, allocations: 17.67 kB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1415, allocations: 95.56 kB / 475.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1417, allocations: 95.59 kB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1417, allocations: 7.984 kB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1418, allocations: 35.98 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.1419, allocations: 43.83 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.1419, allocations: 65.45 kB / 475.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1421, allocations: 179.8 kB / 475.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1422, allocations: 0 / 475.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1422, allocations: 4 kB / 475.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1422, allocations: 0 / 475.5 MB, free: 9.781 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006901/0.1429, allocations: 0.5139 MB / 476 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1429, allocations: 8.031 kB / 476 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.143, allocations: 38.56 kB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.143, allocations: 23.72 kB / 476.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1433, allocations: 266.5 kB / 476.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1433, allocations: 11.98 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1434, allocations: 7.953 kB / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1436, allocations: 108.1 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1436, allocations: 0 / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1436, allocations: 8 kB / 476.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1436, allocations: 3.984 kB / 476.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1437, allocations: 39.95 kB / 476.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1442, allocations: 373.6 kB / 476.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1444, allocations: 113.3 kB / 477 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.1445, allocations: 49.64 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1446, allocations: 7.984 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1448, allocations: 109 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.845e-06/0.1448, allocations: 4 kB / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004113/0.1452, allocations: 177.3 kB / 477.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.1453, allocations: 110.8 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.1456, allocations: 327 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1456, allocations: 33.7 kB / 477.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.1457, allocations: 136 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1458, allocations: 31.78 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.1458, allocations: 4 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1459, allocations: 338.8 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.146, allocations: 35.98 kB / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1461, allocations: 81 kB / 478.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.1462, allocations: 44.03 kB / 478.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1462, allocations: 0 / 478.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002461/0.1464, allocations: 141.3 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1465, allocations: 4 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1465, allocations: 4 kB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1465, allocations: 0 / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1466, allocations: 28.55 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.1466, allocations: 0 / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.1467, allocations: 23.95 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1468, allocations: 7.938 kB / 478.6 MB, free: 6.328 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001298/0.1469, allocations: 158.2 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1469, allocations: 23.72 kB / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.147, allocations: 25.73 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.147, allocations: 4 kB / 478.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.147, allocations: 0 / 478.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.147, allocations: 0 / 478.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1472, allocations: 249.4 kB / 479.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1472, allocations: 8 kB / 479.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.1473, allocations: 4 kB / 479.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1473, allocations: 7.938 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1473, allocations: 4 kB / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1473, allocations: 0 / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1473, allocations: 4 kB / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1476, allocations: 177.6 kB / 479.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.1477, allocations: 108.8 kB / 479.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1477, allocations: 4 kB / 479.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1478, allocations: 8 kB / 479.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1478, allocations: 7.984 kB / 479.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1479, allocations: 11.98 kB / 479.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1481, allocations: 241.9 kB / 479.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1481, allocations: 4 kB / 479.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1484, allocations: 39.98 kB / 479.7 MB, free: 5.156 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001316/0.1497, allocations: 1.045 MB / 480.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1499, allocations: 87.84 kB / 480.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.15, allocations: 8.125 kB / 480.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1501, allocations: 47.91 kB / 480.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1504, allocations: 52.84 kB / 480.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.1523, allocations: 1.248 MB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1527, allocations: 0.744 MB / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1528, allocations: 37.92 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1529, allocations: 67.41 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1529, allocations: 0 / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.1727, allocations: 4.996 MB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.173, allocations: 240.5 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.097, allocations: 0 / 488.3 MB, free: 12.75 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat