Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.0009941/0.0009939, allocations: 95.66 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.001437/0.001437, allocations: 174.5 kB / 16.57 MB, free: 6.387 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.892/1.892, 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.4448/0.4448, allocations: 43.55 MB / 314.5 MB, free: 9.051 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.0006698/0.0006704, allocations: 22.97 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1728, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003387/0.1762, allocations: 1.36 MB / 444.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1782, allocations: 0.7189 MB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1783, allocations: 0 / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.1787, allocations: 31.84 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.179, allocations: 47.86 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1794, allocations: 67.8 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1797, allocations: 63.84 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.1797, allocations: 3.984 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1799, allocations: 43.84 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.18, allocations: 27.86 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.18, allocations: 4 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1802, allocations: 23.97 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1802, allocations: 19.92 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.1803, allocations: 41.64 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1805, allocations: 92.02 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1806, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1806, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1806, 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.0008458/0.1814, allocations: 418.7 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.022e-05/0.1815, allocations: 15.95 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/0.1816, allocations: 30.56 kB / 445.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.1817, allocations: 19.75 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.1821, allocations: 202.9 kB / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.1821, allocations: 4 kB / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1821, allocations: 0 / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1824, allocations: 49.67 kB / 446.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1824, allocations: 0 / 446.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.1824, allocations: 7.953 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1824, allocations: 7.938 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.1825, allocations: 12 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.1828, allocations: 197.6 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.183, allocations: 54.55 kB / 446.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.1831, allocations: 4 kB / 446.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.1833, allocations: 67.48 kB / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.1834, allocations: 0 / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000371/0.1837, allocations: 97.5 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.1838, allocations: 59.36 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.1841, allocations: 254.5 kB / 446.9 MB, free: 8.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1842, allocations: 25.7 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.1843, allocations: 116.1 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.1843, allocations: 15.81 kB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.1843, allocations: 0 / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1845, allocations: 330.8 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.1846, allocations: 12 kB / 447.3 MB, free: 8.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.1847, allocations: 25.7 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/0.1847, allocations: 20 kB / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1847, allocations: 4 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000196/0.1849, allocations: 85.42 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.185, allocations: 8 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.185, allocations: 0 / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.185, allocations: 0 / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.1851, allocations: 8 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1851, allocations: 3.953 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.1852, allocations: 7.938 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1852, allocations: 7.938 kB / 447.5 MB, free: 8.273 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.0001559/0.1854, allocations: 137.8 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1854, allocations: 19.8 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.1855, allocations: 17 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1855, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1855, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1855, allocations: 3.953 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1858, allocations: 197.6 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1858, allocations: 0 / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.1858, allocations: 4 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1858, allocations: 8.25 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1858, allocations: 7.984 kB / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1858, allocations: 4 kB / 447.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1858, allocations: 0 / 447.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1861, allocations: 112.8 kB / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.1862, allocations: 89.02 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1862, allocations: 4 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.1862, allocations: 0 / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.1863, allocations: 11.98 kB / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1863, allocations: 0 / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.1865, allocations: 204 kB / 448.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1866, allocations: 0 / 448.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1868, allocations: 23.89 kB / 448.3 MB, free: 7.352 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.001546/0.1884, allocations: 0.9509 MB / 449.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1886, allocations: 39.92 kB / 449.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1886, allocations: 0 / 449.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.329e-05/0.1886, allocations: 19.98 kB / 449.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1889, allocations: 23.98 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1904, allocations: 0.9587 MB / 450.3 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1908, allocations: 0.7121 MB / 451 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.975e-05/0.1909, allocations: 12.55 kB / 451.1 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.191, allocations: 39.42 kB / 451.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.191, allocations: 0 / 451.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.2063, allocations: 2.957 MB / 454.1 MB, free: 1.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/0.2067, allocations: 212.4 kB / 454.3 MB, free: 1.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.073, allocations: 0 / 454.3 MB, free: 1.332 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat