Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.001259/0.001259, allocations: 96.67 kB / 15.7 MB, free: 468 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.001994/0.001994, allocations: 175.2 kB / 16.57 MB, free: 6.848 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.846/1.846, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.4841/0.4841, allocations: 43.54 MB / 314.5 MB, free: 9.039 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.0006331/0.0006333, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.172, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002409/0.1744, allocations: 1.364 MB / 444.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1758, allocations: 0.7111 MB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.1759, allocations: 0 / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.1763, allocations: 27.84 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.1765, allocations: 55.86 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1768, allocations: 67.8 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.177, allocations: 63.84 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.564e-05/0.177, allocations: 7.984 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1772, allocations: 43.83 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1773, allocations: 23.86 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1773, allocations: 4 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.1774, allocations: 23.94 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.1775, allocations: 31.89 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.1775, allocations: 37.64 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1777, allocations: 80.11 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1777, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1777, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1778, allocations: 0 / 445.4 MB, free: 10.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007373/0.1785, allocations: 430.6 kB / 445.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.1786, allocations: 8.031 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.1786, allocations: 34.56 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1787, allocations: 15.81 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.179, allocations: 206.8 kB / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1791, allocations: 0 / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1791, allocations: 4 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1793, allocations: 53.66 kB / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1793, allocations: 0 / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1793, allocations: 3.953 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1793, allocations: 0 / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.1794, allocations: 19.98 kB / 446.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.1796, allocations: 189.6 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1798, allocations: 58.55 kB / 446.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1799, allocations: 0 / 446.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1801, allocations: 63.48 kB / 446.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1801, allocations: 4 kB / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003207/0.1804, allocations: 97.52 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1805, allocations: 59.36 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1808, allocations: 258.5 kB / 446.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1808, allocations: 29.69 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.1809, allocations: 108.1 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.181, allocations: 19.78 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.181, allocations: 4 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1812, allocations: 326.8 kB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.1812, allocations: 12 kB / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1813, allocations: 29.7 kB / 447.4 MB, free: 8.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/0.1813, allocations: 15.98 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1814, allocations: 0 / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001602/0.1815, allocations: 85.44 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1816, allocations: 4 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1816, allocations: 4.031 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1816, allocations: 4 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.1817, allocations: 8 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1817, allocations: 3.953 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.1818, allocations: 15.92 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1818, allocations: 0 / 447.5 MB, free: 8.27 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 (7): * Single equations (assignments): 7 * 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.0001506/0.1819, allocations: 137.8 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.182, allocations: 15.81 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.182, allocations: 20.98 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.182, allocations: 7.938 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1821, allocations: 0 / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1821, allocations: 7.891 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.1823, allocations: 193.6 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1823, allocations: 0 / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.1824, allocations: 4 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1824, allocations: 0 / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1824, allocations: 0 / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1824, allocations: 4 kB / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1824, allocations: 0 / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.1826, allocations: 117.2 kB / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.1827, allocations: 92.95 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1827, allocations: 3.984 kB / 448.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.1827, allocations: 8 kB / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1828, allocations: 0 / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1828, allocations: 4 kB / 448.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.183, allocations: 200 kB / 448.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.183, allocations: 4 kB / 448.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1832, allocations: 23.91 kB / 448.3 MB, free: 7.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001406/0.1846, allocations: 0.9547 MB / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1848, allocations: 39.92 kB / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1848, allocations: 4.062 kB / 449.3 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.1849, allocations: 19.98 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1851, allocations: 19.98 kB / 449.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1868, allocations: 0.9509 MB / 450.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1872, allocations: 0.7238 MB / 451.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.1873, allocations: 12.55 kB / 451.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.1874, allocations: 35.42 kB / 451.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1874, allocations: 0 / 451.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.2027, allocations: 2.947 MB / 454.1 MB, free: 1.578 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.2029, allocations: 224.4 kB / 454.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.046, allocations: 0 / 454.3 MB, free: 1.328 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat