Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.0009463/0.0009465, allocations: 97.53 kB / 15.69 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.001047/0.001047, allocations: 173.6 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.757/1.757, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4659/0.4659, allocations: 43.55 MB / 314.5 MB, free: 8.699 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.0005752/0.0005764, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1762, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002445/0.1787, allocations: 1.388 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1801, allocations: 0.7344 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.1802, allocations: 8 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1805, allocations: 31.77 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1807, allocations: 43.88 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.181, allocations: 79.73 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1812, allocations: 59.91 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1813, allocations: 12.22 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1815, allocations: 43.77 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.1815, allocations: 23.88 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1816, allocations: 4 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.1817, allocations: 31.91 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1817, allocations: 19.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.1818, allocations: 33.7 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.182, allocations: 96.02 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.182, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.182, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.182, allocations: 0 / 445.4 MB, free: 10.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006645/0.1827, allocations: 406.8 kB / 445.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1827, allocations: 8.031 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1828, allocations: 34.56 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1828, allocations: 7.906 kB / 445.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1831, allocations: 203.5 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1831, allocations: 11.94 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1832, allocations: 0 / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1833, allocations: 57.61 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.1834, allocations: 4 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1834, allocations: 11.94 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1834, allocations: 4 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.1835, allocations: 15.98 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.184, allocations: 284.9 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1841, allocations: 58.61 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1842, allocations: 8 kB / 446.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.1844, allocations: 67.47 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1844, allocations: 0 / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.185, allocations: 173.1 kB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.185, allocations: 51.41 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.1852, allocations: 199.3 kB / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1853, allocations: 33.69 kB / 447.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1854, allocations: 100.1 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1854, allocations: 23.64 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.1854, allocations: 4 kB / 447.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1856, allocations: 322.8 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.1856, allocations: 23.98 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.1857, allocations: 37.64 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.225e-05/0.1858, allocations: 24 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1858, allocations: 3.938 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.186, allocations: 109.4 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.186, allocations: 4 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.186, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.186, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1861, allocations: 23.92 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1862, allocations: 0 / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.1862, allocations: 0 / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1862, allocations: 8.031 kB / 447.7 MB, free: 7.836 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 (10): * Single equations (assignments): 10 * 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.0001222/0.1864, allocations: 133.8 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1864, allocations: 11.86 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1864, allocations: 17.39 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1864, allocations: 4 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1865, allocations: 192 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1865, allocations: 0 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.1869, allocations: 407.1 kB / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1869, allocations: 0 / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.187, allocations: 11.94 kB / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.187, allocations: 0 / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.187, allocations: 4.359 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.187, allocations: 4 kB / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.187, allocations: 0 / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1873, allocations: 218 kB / 448.5 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.1873, allocations: 88.92 kB / 448.6 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1874, allocations: 7.984 kB / 448.6 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.1875, allocations: 4 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.1875, allocations: 4 kB / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1875, allocations: 3.984 kB / 448.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1877, allocations: 156.9 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1877, allocations: 0 / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.188, allocations: 28 kB / 448.8 MB, free: 6.645 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 (8): * Single equations (assignments): 6 * 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.001556/0.1895, allocations: 1.168 MB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1897, allocations: 59.89 kB / 450 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1897, allocations: 0 / 450 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.1898, allocations: 35.92 kB / 450.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1901, allocations: 24.11 kB / 450.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1914, allocations: 0.8779 MB / 451 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.192, allocations: 0.7082 MB / 451.7 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.1921, allocations: 8.891 kB / 451.7 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.1922, allocations: 43.41 kB / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1922, allocations: 0 / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.2086, allocations: 2.97 MB / 454.7 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.2088, allocations: 216.5 kB / 454.9 MB, free: 448 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.003, allocations: 0 / 454.9 MB, free: 448 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat