Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.0009937/0.0009937, allocations: 95.97 kB / 15.69 MB, free: 476 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.00189/0.00189, allocations: 175.5 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.893/1.893, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.4282/0.4282, allocations: 43.54 MB / 314.5 MB, free: 8.758 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.0007736/0.0007737, allocations: 24 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1715, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002168/0.1737, allocations: 1.352 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1749, allocations: 0.7227 MB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.175, allocations: 0 / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1753, allocations: 31.84 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1755, allocations: 47.86 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1758, allocations: 75.78 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1759, allocations: 59.86 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.176, allocations: 11.98 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.473e-05/0.1761, allocations: 31.84 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.1762, allocations: 27.86 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1762, allocations: 4 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.1763, allocations: 23.97 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1764, allocations: 23.92 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1764, allocations: 41.58 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1766, allocations: 88.08 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1766, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1766, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1766, allocations: 4 kB / 445.4 MB, free: 10.41 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.0006259/0.1773, allocations: 414.7 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1773, allocations: 8.031 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.1774, allocations: 38.55 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1774, allocations: 15.81 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1777, allocations: 202.8 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1777, allocations: 4 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1778, allocations: 0 / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1779, allocations: 53.67 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.178, allocations: 0 / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.178, allocations: 11.89 kB / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.178, allocations: 0 / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.1781, allocations: 12 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.1783, allocations: 197.6 kB / 446.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1785, allocations: 62.53 kB / 446.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1785, allocations: 4 kB / 446.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1787, allocations: 63.48 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1788, allocations: 0 / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002936/0.1791, allocations: 93.52 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.1791, allocations: 59.36 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1794, allocations: 258.5 kB / 446.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1794, allocations: 29.7 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.1795, allocations: 116.1 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1795, allocations: 11.81 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1795, allocations: 0 / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1797, allocations: 330.8 kB / 447.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.1798, allocations: 12 kB / 447.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.1798, allocations: 25.7 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.1799, allocations: 24 kB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1799, allocations: 0 / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.18, allocations: 81.44 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1801, allocations: 11.98 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1801, allocations: 160 / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1801, allocations: 0 / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.1802, allocations: 8 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1802, allocations: 7.938 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1803, allocations: 7.938 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1803, allocations: 8 kB / 447.5 MB, free: 8.047 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.0001239/0.1804, allocations: 137.8 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.1804, allocations: 19.8 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.1805, allocations: 17 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1805, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1805, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1805, allocations: 3.953 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1807, allocations: 193.6 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1807, allocations: 0 / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.1807, allocations: 7.938 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1807, allocations: 4 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1808, allocations: 8.297 kB / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1808, allocations: 0 / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1808, allocations: 4 kB / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.181, allocations: 112.9 kB / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.181, allocations: 85.02 kB / 448.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1811, allocations: 4 kB / 448.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.1811, allocations: 4 kB / 448.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1812, allocations: 15.92 kB / 448.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1812, allocations: 0 / 448.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.1814, allocations: 200 kB / 448.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1814, allocations: 0 / 448.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.1816, allocations: 23.89 kB / 448.3 MB, free: 7.129 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.001337/0.1829, allocations: 0.9496 MB / 449.3 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1831, allocations: 39.92 kB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1831, allocations: 0 / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.1832, allocations: 23.98 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1834, allocations: 23.92 kB / 449.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1847, allocations: 0.9548 MB / 450.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.1852, allocations: 0.716 MB / 451 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.1852, allocations: 16.48 kB / 451.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.1853, allocations: 39.42 kB / 451.1 MB, free: 4.297 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1853, allocations: 0 / 451.1 MB, free: 4.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.2009, allocations: 2.949 MB / 454.1 MB, free: 1.352 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.2013, allocations: 212.4 kB / 454.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.067, allocations: 3.938 kB / 454.3 MB, free: 1.109 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat