Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",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.002182/0.002188, allocations: 180.5 kB / 8.365 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003455/0.003454, allocations: 91.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3133/0.3133, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.359e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4312, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.6254, allocations: 86.97 MB / 0.5509 GB, free: 12.24 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.6257, allocations: 71.97 kB / 0.551 GB, free: 12.17 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0266/0.6524, allocations: 5.646 MB / 0.5565 GB, free: 6.527 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6524, allocations: 0 / 0.5565 GB, free: 6.527 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.6525, allocations: 7.938 kB / 0.5565 GB, free: 6.52 MB / 395.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.000671/0.6531, allocations: 414.8 kB / 0.5569 GB, free: 6.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.6532, allocations: 11.97 kB / 0.5569 GB, free: 6.059 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.6533, allocations: 11.91 kB / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.6538, allocations: 226.7 kB / 0.5572 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.6538, allocations: 0 / 0.5572 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.6539, allocations: 4 kB / 0.5572 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.933e-05/0.654, allocations: 15.98 kB / 0.5572 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.6541, allocations: 53.67 kB / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6541, allocations: 0 / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.6542, allocations: 0 / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.6542, allocations: 4 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.6547, allocations: 297.3 kB / 0.5575 GB, free: 5.375 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.655, allocations: 46.69 kB / 0.5576 GB, free: 5.32 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.655, allocations: 16.98 kB / 0.5576 GB, free: 5.301 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.6551, allocations: 0 / 0.5576 GB, free: 5.301 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.6553, allocations: 71.3 kB / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 5.25e-06/0.6553, allocations: 0 / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006324/0.6559, allocations: 157.1 kB / 0.5578 GB, free: 5.059 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.656, allocations: 51.41 kB / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.6564, allocations: 237.7 kB / 0.5581 GB, free: 4.754 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.6564, allocations: 25.7 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.6565, allocations: 166.6 kB / 0.5583 GB, free: 4.559 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.6566, allocations: 27.64 kB / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.6566, allocations: 0 / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6568, allocations: 314.8 kB / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.6569, allocations: 23.94 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.657, allocations: 37.64 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.657, allocations: 16 kB / 0.5587 GB, free: 4.133 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6571, allocations: 0 / 0.5587 GB, free: 4.133 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.6573, allocations: 89.66 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.6574, allocations: 8 kB / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6574, allocations: 0 / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6574, allocations: 0 / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.6576, allocations: 23.95 kB / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.6576, allocations: 4 kB / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.6577, allocations: 0 / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.6577, allocations: 7.953 kB / 0.5588 GB, free: 3.996 MB / 395.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 () * 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.0001158/0.6579, allocations: 109 kB / 0.5589 GB, free: 3.883 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002407/0.6581, allocations: 97.66 kB / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.6582, allocations: 19.81 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.6585, allocations: 111.5 kB / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6585, allocations: 4 kB / 0.5591 GB, free: 3.645 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.6586, allocations: 3.953 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6586, allocations: 3.938 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.6594, allocations: 399.8 kB / 0.5595 GB, free: 3.199 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6594, allocations: 0 / 0.5595 GB, free: 3.199 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.6595, allocations: 15.94 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.6595, allocations: 3.984 kB / 0.5595 GB, free: 3.18 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.6595, allocations: 0 / 0.5595 GB, free: 3.18 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.6596, allocations: 3.984 kB / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6596, allocations: 8 kB / 0.5595 GB, free: 3.168 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.6599, allocations: 214.1 kB / 0.5597 GB, free: 2.934 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.66, allocations: 100.9 kB / 0.5598 GB, free: 2.816 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.6601, allocations: 3.953 kB / 0.5598 GB, free: 2.812 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.6602, allocations: 4.094 kB / 0.5598 GB, free: 2.809 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.6603, allocations: 23.86 kB / 0.5599 GB, free: 2.785 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.6603, allocations: 0 / 0.5599 GB, free: 2.785 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.6606, allocations: 192.2 kB / 0.56 GB, free: 2.598 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6607, allocations: 0 / 0.56 GB, free: 2.598 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.6611, allocations: 31.94 kB / 0.5601 GB, free: 2.566 MB / 395.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) * 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.002021/0.6631, allocations: 1.109 MB / 0.5612 GB, free: 1.465 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.6635, allocations: 55.88 kB / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6635, allocations: 0 / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.342e-05/0.6636, allocations: 27.94 kB / 0.5612 GB, free: 1.383 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.6641, allocations: 31.83 kB / 0.5613 GB, free: 1.352 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.6651, allocations: 317.3 kB / 0.5616 GB, free: 0.9961 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.6656, allocations: 0.7275 MB / 0.5623 GB, free: 248 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.6658, allocations: 39.42 kB / 0.5623 GB, free: 208 kB / 395.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6658, allocations: 0 / 0.5623 GB, free: 208 kB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.985/3.651, allocations: 2.86 MB / 0.5651 GB, free: 13.35 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat