Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 186.1 kB / 16.4 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 92.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5272/0.5272, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004931, allocations: 20 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.6251, allocations: 87.71 MB / 0.5645 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.6254, allocations: 75.97 kB / 0.5646 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02542/0.6509, allocations: 5.726 MB / 0.5702 GB, free: 9.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6509, allocations: 0 / 0.5702 GB, free: 9.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.651, allocations: 8.656 kB / 0.5702 GB, free: 9.043 MB / 394.7 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.0007623/0.6517, allocations: 461.3 kB / 0.5706 GB, free: 8.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6518, allocations: 12.69 kB / 0.5706 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.6519, allocations: 34.56 kB / 0.5706 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.6519, allocations: 20.25 kB / 0.5707 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.6524, allocations: 227.8 kB / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6524, allocations: 0 / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.6525, allocations: 4 kB / 0.5709 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.6527, allocations: 61.55 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6527, allocations: 3.375 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.6527, allocations: 0 / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.6527, allocations: 1.031 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.6529, allocations: 31.92 kB / 0.571 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.6535, allocations: 312.8 kB / 0.5713 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.6537, allocations: 58.62 kB / 0.5713 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.6538, allocations: 0 / 0.5713 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.654, allocations: 75.5 kB / 0.5714 GB, free: 7.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.654, allocations: 0 / 0.5714 GB, free: 7.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008272/0.6548, allocations: 185 kB / 0.5716 GB, free: 7.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.6549, allocations: 51.41 kB / 0.5716 GB, free: 7.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.6554, allocations: 254.8 kB / 0.5719 GB, free: 7.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.6554, allocations: 29.7 kB / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.6555, allocations: 166.6 kB / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.6556, allocations: 27.7 kB / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.6556, allocations: 0 / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6558, allocations: 318.8 kB / 0.5724 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.6559, allocations: 19.98 kB / 0.5724 GB, free: 6.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.656, allocations: 41.62 kB / 0.5724 GB, free: 6.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.6561, allocations: 24.7 kB / 0.5725 GB, free: 6.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6561, allocations: 0 / 0.5725 GB, free: 6.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003911/0.6565, allocations: 97.73 kB / 0.5726 GB, free: 6.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6566, allocations: 4 kB / 0.5726 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6566, allocations: 0 / 0.5726 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.6567, allocations: 4 kB / 0.5726 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6568, allocations: 27.91 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6569, allocations: 3.953 kB / 0.5726 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.657, allocations: 4 kB / 0.5726 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.657, allocations: 4 kB / 0.5726 GB, free: 6.32 MB / 394.7 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.0001881/0.6572, allocations: 145.8 kB / 0.5728 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.6572, allocations: 16.56 kB / 0.5728 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.6577, allocations: 123 kB / 0.5729 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6577, allocations: 4.281 kB / 0.5729 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6577, allocations: 0 / 0.5729 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6578, allocations: 3.953 kB / 0.5729 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.6586, allocations: 451.1 kB / 0.5733 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6587, allocations: 4.031 kB / 0.5733 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.6588, allocations: 8 kB / 0.5733 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.6588, allocations: 4 kB / 0.5733 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.6589, allocations: 7.922 kB / 0.5733 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.6589, allocations: 4.828 kB / 0.5733 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6589, allocations: 0 / 0.5733 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.6596, allocations: 229.9 kB / 0.5736 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.6598, allocations: 97 kB / 0.5737 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.6599, allocations: 7.953 kB / 0.5737 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.6601, allocations: 4 kB / 0.5737 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.6602, allocations: 7.984 kB / 0.5737 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.6602, allocations: 384 / 0.5737 GB, free: 5.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006077/0.6609, allocations: 208.2 kB / 0.5739 GB, free: 4.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.6609, allocations: 0 / 0.5739 GB, free: 4.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000853/0.6618, allocations: 39.89 kB / 0.5739 GB, free: 4.871 MB / 394.7 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 (9): * Single equations (assignments): 7 * 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.003286/0.6651, allocations: 1.208 MB / 0.5751 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000496/0.6656, allocations: 59.91 kB / 0.5752 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6657, allocations: 0 / 0.5752 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.6659, allocations: 35.92 kB / 0.5752 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.6665, allocations: 26.28 kB / 0.5752 GB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.6697, allocations: 1.095 MB / 0.5763 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.6703, allocations: 0.7199 MB / 0.577 GB, free: 1.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.6705, allocations: 55.41 kB / 0.577 GB, free: 1.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6706, allocations: 0 / 0.577 GB, free: 1.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.772/3.443, allocations: 2.923 MB / 0.5799 GB, free: 14.74 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat