Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001062/0.001063, allocations: 95.89 kB / 15.68 MB, free: 488 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.001166/0.001166, allocations: 175.4 kB / 16.56 MB, free: 6.379 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.738/1.738, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.5234/0.5234, allocations: 43.54 MB / 314.5 MB, free: 8.973 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.000519/0.000519, allocations: 16 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1664, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00222/0.1687, allocations: 1.462 MB / 444.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1709, allocations: 1.367 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.171, allocations: 3.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1713, allocations: 43.81 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1716, allocations: 79.77 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1719, allocations: 119.7 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1721, allocations: 111.7 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.1722, allocations: 25.5 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1723, allocations: 67.7 kB / 446.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1725, allocations: 51.77 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1725, allocations: 11.94 kB / 446.2 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1727, allocations: 39.92 kB / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.1727, allocations: 27.89 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1728, allocations: 45.64 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.173, allocations: 124 kB / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.173, allocations: 0 / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.173, allocations: 0 / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.173, allocations: 0 / 446.4 MB, free: 9.613 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006071/0.1736, allocations: 462.5 kB / 446.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1737, allocations: 12.03 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1737, allocations: 30.56 kB / 446.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.1738, allocations: 11.91 kB / 446.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1741, allocations: 242.6 kB / 447.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1742, allocations: 4 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1742, allocations: 11.92 kB / 447.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1744, allocations: 97.03 kB / 447.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1744, allocations: 0 / 447.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1744, allocations: 7.953 kB / 447.3 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1744, allocations: 0 / 447.3 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1745, allocations: 31.97 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.1748, allocations: 206.6 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1751, allocations: 109.3 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1751, allocations: 4 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.1754, allocations: 113 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1754, allocations: 4 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004106/0.1758, allocations: 161.4 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.1759, allocations: 136.5 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1762, allocations: 211.8 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1762, allocations: 29.7 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1763, allocations: 112.1 kB / 448.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.1763, allocations: 31.62 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1763, allocations: 0 / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1764, allocations: 334.8 kB / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.1765, allocations: 23.98 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1766, allocations: 73.06 kB / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.1767, allocations: 40.02 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1767, allocations: 0 / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/0.177, allocations: 125.4 kB / 449 MB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.177, allocations: 8 kB / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.177, allocations: 0 / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1771, allocations: 0 / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1772, allocations: 31.92 kB / 449 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1772, allocations: 3.953 kB / 449 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.1773, allocations: 19.95 kB / 449 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1773, allocations: 4 kB / 449.1 MB, free: 6.68 MB / 382.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: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001383/0.1774, allocations: 129.8 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1775, allocations: 19.75 kB / 449.2 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.1775, allocations: 24.98 kB / 449.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1775, allocations: 0 / 449.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1776, allocations: 4.625 kB / 449.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1776, allocations: 7.891 kB / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.1778, allocations: 213.5 kB / 449.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1778, allocations: 11.92 kB / 449.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.1778, allocations: 8 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1778, allocations: 4 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1778, allocations: 0 / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1778, allocations: 0 / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1779, allocations: 4 kB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1782, allocations: 187.4 kB / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.1783, allocations: 96.91 kB / 449.7 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.1783, allocations: 4 kB / 449.8 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1784, allocations: 4 kB / 449.8 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1784, allocations: 15.94 kB / 449.8 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1784, allocations: 4 kB / 449.8 MB, free: 5.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1786, allocations: 161.5 kB / 449.9 MB, free: 5.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1786, allocations: 0 / 449.9 MB, free: 5.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1789, allocations: 36 kB / 450 MB, free: 5.66 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001814/0.1807, allocations: 1.136 MB / 451.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.181, allocations: 83.83 kB / 451.2 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.181, allocations: 0 / 451.2 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1811, allocations: 43.92 kB / 451.2 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1815, allocations: 51.19 kB / 451.3 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1836, allocations: 1.315 MB / 452.6 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.184, allocations: 0.7245 MB / 453.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1841, allocations: 30.02 kB / 453.3 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.1842, allocations: 55.34 kB / 453.4 MB, free: 2.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1842, allocations: 0 / 453.4 MB, free: 2.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2793/0.4635, allocations: 4.109 MB / 457.5 MB, free: 44.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.4638, allocations: 213.9 kB / 457.7 MB, free: 44.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.299, allocations: 3.469 kB / 457.7 MB, free: 44.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat