Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.001047/0.001048, allocations: 96.59 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 172.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4484/0.4484, allocations: 43.54 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.000594, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1637, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002569/0.1664, allocations: 1.392 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1679, allocations: 0.7305 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.168, allocations: 0 / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1683, allocations: 31.84 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1685, allocations: 43.88 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.1688, allocations: 75.77 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1689, allocations: 55.88 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.169, allocations: 12.22 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.1691, allocations: 39.83 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.1692, allocations: 23.84 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1692, allocations: 4 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.1693, allocations: 31.94 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.1694, allocations: 15.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.1694, allocations: 37.64 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1696, allocations: 84.09 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1696, allocations: 3.938 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1696, allocations: 0 / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1696, allocations: 4 kB / 445.4 MB, free: 10.6 MB / 382.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.0005839/0.1702, allocations: 394.8 kB / 445.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1703, allocations: 16.03 kB / 445.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.1703, allocations: 34.56 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1704, allocations: 7.906 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1706, allocations: 198.9 kB / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1707, allocations: 0 / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1707, allocations: 11.94 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1709, allocations: 49.67 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1709, allocations: 0 / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1709, allocations: 11.94 kB / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.171, allocations: 0 / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.171, allocations: 27.98 kB / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1714, allocations: 280.9 kB / 446.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1716, allocations: 54.62 kB / 446.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1716, allocations: 3.984 kB / 446.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.1718, allocations: 71.47 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1719, allocations: 0 / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.1724, allocations: 169.2 kB / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.1725, allocations: 55.39 kB / 446.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1726, allocations: 170.2 kB / 447 MB, free: 8.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1727, allocations: 25.7 kB / 447 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.1727, allocations: 100.1 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1728, allocations: 27.66 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1728, allocations: 0 / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.173, allocations: 322.8 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.173, allocations: 23.98 kB / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.1731, allocations: 37.64 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.057e-05/0.1732, allocations: 24.06 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1732, allocations: 3.938 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.1734, allocations: 109.5 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1734, allocations: 7.984 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1734, allocations: 4 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1734, allocations: 0 / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1735, allocations: 12.19 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1735, allocations: 0 / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.1736, allocations: 7.938 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1736, allocations: 7.984 kB / 447.7 MB, free: 8.141 MB / 382.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.0001157/0.1737, allocations: 129.9 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1738, allocations: 15.77 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.1738, allocations: 16.7 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1738, allocations: 0 / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1738, allocations: 4 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1739, allocations: 0 / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.1743, allocations: 391.3 kB / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1743, allocations: 0 / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.1744, allocations: 15.97 kB / 448.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1744, allocations: 0 / 448.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1744, allocations: 4 kB / 448.2 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1744, allocations: 3.984 kB / 448.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1744, allocations: 384 / 448.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1746, allocations: 210 kB / 448.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1747, allocations: 92.92 kB / 448.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1748, allocations: 8 kB / 448.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.1749, allocations: 7.984 kB / 448.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1749, allocations: 7.938 kB / 448.5 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1749, allocations: 0 / 448.5 MB, free: 7.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1751, allocations: 139.9 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1751, allocations: 0 / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1753, allocations: 24 kB / 448.7 MB, free: 6.984 MB / 382.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.001631/0.177, allocations: 1.18 MB / 449.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1772, allocations: 59.91 kB / 449.9 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1772, allocations: 4 kB / 449.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.1773, allocations: 31.92 kB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1775, allocations: 19.98 kB / 450 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1787, allocations: 0.8266 MB / 450.8 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.179, allocations: 0.7041 MB / 451.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.1791, allocations: 12.88 kB / 451.5 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.1792, allocations: 35.42 kB / 451.6 MB, free: 4.035 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1792, allocations: 0 / 451.6 MB, free: 4.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.193, allocations: 2.862 MB / 454.4 MB, free: 1.176 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.1932, allocations: 208.5 kB / 454.6 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/1.974, allocations: 0 / 454.6 MB, free: 0.9414 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat