Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001053/0.001052, allocations: 95.34 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.002026/0.002026, allocations: 177.9 kB / 16.57 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.533/1.533, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.3996/0.3996, allocations: 43.55 MB / 314.5 MB, free: 8.91 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.0005666/0.0005668, allocations: 16 kB / 384 MB, free: 8.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.172, allocations: 58.86 MB / 442.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.0023/0.1744, allocations: 1.388 MB / 444.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1758, allocations: 0.7344 MB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.1759, allocations: 4 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.1762, allocations: 43.81 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1765, allocations: 51.86 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1767, allocations: 67.8 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1769, allocations: 71.84 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.177, allocations: 16.2 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.1771, allocations: 39.84 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.1772, allocations: 43.83 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1772, allocations: 4 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.811e-05/0.1773, allocations: 27.94 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.1774, allocations: 23.91 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.1775, allocations: 37.64 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1776, allocations: 88.08 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1777, allocations: 4 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1777, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1777, allocations: 0 / 445.5 MB, free: 10.57 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.000677/0.1784, allocations: 410.8 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1784, allocations: 12.03 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.1785, allocations: 42.44 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1785, allocations: 11.81 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1788, allocations: 215.5 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1788, allocations: 0 / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1789, allocations: 8 kB / 446.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.179, allocations: 65.66 kB / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1791, allocations: 0 / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1791, allocations: 3.953 kB / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1791, allocations: 4 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1792, allocations: 43.91 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.1796, allocations: 304.8 kB / 446.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1799, allocations: 74.67 kB / 446.7 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1799, allocations: 4 kB / 446.7 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.1801, allocations: 91.25 kB / 446.7 MB, free: 9.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 3.637e-06/0.1802, allocations: 7.984 kB / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006463/0.1808, allocations: 217 kB / 447 MB, free: 8.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1809, allocations: 59.34 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1811, allocations: 179.3 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1811, allocations: 29.7 kB / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1812, allocations: 104.5 kB / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.1812, allocations: 39.53 kB / 447.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1812, allocations: 0 / 447.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1814, allocations: 326.8 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.1814, allocations: 23.98 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.1815, allocations: 45.7 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.1816, allocations: 39.92 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1816, allocations: 4 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002147/0.1818, allocations: 125.5 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1819, allocations: 11.98 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1819, allocations: 0 / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1819, allocations: 0 / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.182, allocations: 20 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.182, allocations: 0 / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.1821, allocations: 11.98 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1821, allocations: 4 kB / 448 MB, free: 7.848 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 (12): * Single equations (assignments): 12 * 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.0001381/0.1823, allocations: 133.8 kB / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1823, allocations: 23.75 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.1823, allocations: 13.41 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1824, allocations: 4 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1824, allocations: 0 / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1824, allocations: 0 / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.1829, allocations: 423.3 kB / 448.6 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1829, allocations: 4.031 kB / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.183, allocations: 23.92 kB / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.183, allocations: 0 / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.183, allocations: 4 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.183, allocations: 3.938 kB / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.183, allocations: 0 / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1834, allocations: 245.8 kB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1834, allocations: 89.02 kB / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1835, allocations: 0 / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.1836, allocations: 11.98 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1836, allocations: 4 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1836, allocations: 7.984 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.1838, allocations: 140.9 kB / 449.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1838, allocations: 288 / 449.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1841, allocations: 31.98 kB / 449.1 MB, free: 6.598 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 (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.001905/0.1861, allocations: 1.196 MB / 450.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1863, allocations: 75.91 kB / 450.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1863, allocations: 0 / 450.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.1864, allocations: 43.92 kB / 450.4 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.1867, allocations: 27.86 kB / 450.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1882, allocations: 0.9211 MB / 451.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1886, allocations: 0.7164 MB / 452.1 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.711e-05/0.1887, allocations: 25.06 kB / 452.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.1888, allocations: 43.42 kB / 452.2 MB, free: 3.477 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1888, allocations: 4 kB / 452.2 MB, free: 3.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.2051, allocations: 3.168 MB / 455.3 MB, free: 312 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.2054, allocations: 212.4 kB / 455.5 MB, free: 68 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.236, allocations: 4 kB / 455.5 MB, free: 64 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat