Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.0009455/0.0009456, allocations: 96.98 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.001439/0.001439, allocations: 171.7 kB / 16.57 MB, free: 6.391 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.898/1.898, 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.4816/0.4816, allocations: 43.54 MB / 314.5 MB, free: 8.777 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.0006474/0.0006477, allocations: 24 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1651, allocations: 58.84 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002969/0.1682, allocations: 1.395 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.17, allocations: 0.7344 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.1702, allocations: 4 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.1706, allocations: 35.78 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.1709, allocations: 43.88 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1713, allocations: 75.78 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1715, allocations: 59.91 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1716, allocations: 12.22 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1717, allocations: 47.77 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.1718, allocations: 27.86 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1719, allocations: 4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.172, allocations: 31.92 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.1721, allocations: 23.91 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.1721, allocations: 41.64 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1723, allocations: 96.08 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1723, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1724, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1724, allocations: 4 kB / 445.5 MB, free: 10.32 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.0007658/0.1731, allocations: 426.6 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.1732, allocations: 8.031 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.1733, allocations: 34.55 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.1734, allocations: 19.81 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1737, allocations: 210.7 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1737, allocations: 7.984 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1738, allocations: 0 / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1739, allocations: 57.67 kB / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.174, allocations: 0 / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.174, allocations: 7.953 kB / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.174, allocations: 0 / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.1741, allocations: 19.98 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.1746, allocations: 288.9 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1748, allocations: 62.67 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1748, allocations: 0 / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.175, allocations: 71.41 kB / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.175, allocations: 0 / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.1756, allocations: 177.1 kB / 446.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1757, allocations: 55.34 kB / 446.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.176, allocations: 266.5 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.176, allocations: 25.7 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.1761, allocations: 116 kB / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.1762, allocations: 27.64 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1762, allocations: 0 / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1763, allocations: 326.8 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.1764, allocations: 23.92 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.1765, allocations: 37.7 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.1765, allocations: 27.98 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1766, allocations: 3.938 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.1768, allocations: 101.5 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.1768, allocations: 7.984 kB / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1768, allocations: 0 / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.1768, allocations: 7.984 kB / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.1769, allocations: 12 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.177, allocations: 0 / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.177, allocations: 12.03 kB / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.177, allocations: 7.984 kB / 447.9 MB, free: 7.684 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.0001346/0.1772, allocations: 137.8 kB / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1772, allocations: 19.77 kB / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.1773, allocations: 17.41 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1773, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1773, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1773, allocations: 3.984 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.1778, allocations: 411.6 kB / 448.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1779, allocations: 4 kB / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.1779, allocations: 11.98 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1779, allocations: 4 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1779, allocations: 0 / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1779, allocations: 0 / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.178, allocations: 4 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1783, allocations: 221.8 kB / 448.7 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.1783, allocations: 89 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1784, allocations: 4 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1784, allocations: 4 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.1785, allocations: 7.984 kB / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1785, allocations: 4 kB / 448.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1787, allocations: 204 kB / 449 MB, free: 6.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1787, allocations: 0 / 449 MB, free: 6.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.179, allocations: 31.98 kB / 449 MB, free: 6.418 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.001741/0.1808, allocations: 1.181 MB / 450.2 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.181, allocations: 55.97 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.181, allocations: 0 / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.181, allocations: 32.06 kB / 450.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1813, allocations: 27.97 kB / 450.3 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1829, allocations: 1.013 MB / 451.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.1833, allocations: 0.716 MB / 452 MB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.1834, allocations: 20.88 kB / 452.1 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.1835, allocations: 43.42 kB / 452.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1835, allocations: 0 / 452.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.1989, allocations: 3.227 MB / 455.3 MB, free: 28 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2964/0.4953, allocations: 216.5 kB / 455.6 MB, free: 47.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.27, allocations: 0 / 455.6 MB, free: 47.99 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat