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.0008158/0.0008162, allocations: 98.73 kB / 17.01 MB, free: 6.391 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.00148/0.00148, allocations: 178.1 kB / 17.89 MB, free: 5.926 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.458/1.458, allocations: 223.3 MB / 241.9 MB, free: 344 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.2146/0.2146, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003436, allocations: 8.812 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002131/0.1464, allocations: 1.402 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1478, allocations: 0.8192 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.1478, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1481, allocations: 31.91 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1483, allocations: 39.83 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1486, allocations: 99.5 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1488, allocations: 83.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.1489, allocations: 12.22 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.149, allocations: 35.86 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.149, allocations: 39.77 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1491, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1492, allocations: 51.98 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.1492, allocations: 15.91 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1493, allocations: 37.7 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1495, allocations: 96.02 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1495, allocations: 0 / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1495, allocations: 3.938 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1495, allocations: 0 / 474.4 MB, free: 10.84 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.00052/0.15, allocations: 395 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1501, allocations: 8.031 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.1501, allocations: 38.56 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1502, allocations: 15.83 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1504, allocations: 193.2 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1504, allocations: 11.95 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1505, allocations: 3.984 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1506, allocations: 71.33 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1507, allocations: 4 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1507, allocations: 0 / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1507, allocations: 4 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.1508, allocations: 19.98 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.1512, allocations: 272.9 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1514, allocations: 74.55 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1514, allocations: 32.91 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1515, allocations: 0 / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1517, allocations: 71.38 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1517, allocations: 0 / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006036/0.1523, allocations: 197.2 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1524, allocations: 85.11 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1525, allocations: 160.5 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1525, allocations: 29.7 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.1526, allocations: 96.31 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1526, allocations: 23.66 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.1526, allocations: 0 / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1528, allocations: 330.8 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.1528, allocations: 27.98 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.1529, allocations: 58.55 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/0.153, allocations: 32 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.153, allocations: 0 / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002018/0.1532, allocations: 125.4 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1532, allocations: 7.984 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1533, allocations: 4 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1533, allocations: 0 / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.1534, allocations: 16 kB / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1534, allocations: 4.062 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.1534, allocations: 7.984 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1535, allocations: 8 kB / 476.8 MB, free: 8.215 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.796e-05/0.1536, allocations: 126.3 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.1536, allocations: 7.906 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.1536, allocations: 16.7 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1536, allocations: 96 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1537, allocations: 3.938 kB / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1537, allocations: 4 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.1541, allocations: 427.1 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1542, allocations: 0 / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.1542, allocations: 11.98 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1542, allocations: 4 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1542, allocations: 0 / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1542, allocations: 0 / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1542, allocations: 11.98 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1545, allocations: 212.2 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.1545, allocations: 89.02 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1546, allocations: 11.97 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/0.1547, allocations: 0 / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1547, allocations: 11.95 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1547, allocations: 15.98 kB / 477.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.1548, allocations: 121.3 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.205e-06/0.1548, allocations: 0 / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.1552, allocations: 31.94 kB / 477.9 MB, free: 7.023 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.001543/0.1567, allocations: 1.159 MB / 479 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1569, allocations: 75.91 kB / 479.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1569, allocations: 3.938 kB / 479.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.819e-05/0.157, allocations: 35.92 kB / 479.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1574, allocations: 27.97 kB / 479.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1584, allocations: 0.6745 MB / 479.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1587, allocations: 0.7043 MB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.645e-05/0.1588, allocations: 16.64 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.1588, allocations: 35.42 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1588, allocations: 0 / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.173, allocations: 3.283 MB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.1732, allocations: 237.6 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.099, allocations: 0 / 484.1 MB, free: 1.012 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