Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",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.002343/0.002342, allocations: 186 kB / 16.41 MB, free: 5.727 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.344/2.344, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001153/0.001153, allocations: 103.2 kB / 270.9 MB, free: 8.363 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.5512/0.5512, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004825, allocations: 16 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1362, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6219, allocations: 87.74 MB / 0.5645 GB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.6223, allocations: 75.95 kB / 0.5646 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02777/0.6501, allocations: 5.961 MB / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6502, allocations: 0 / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.6502, allocations: 0 / 0.5704 GB, free: 8.629 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008057/0.651, allocations: 457.5 kB / 0.5709 GB, free: 8.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.6511, allocations: 12.03 kB / 0.5709 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.6511, allocations: 34.56 kB / 0.5709 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.6512, allocations: 16.75 kB / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.6517, allocations: 228 kB / 0.5711 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.6517, allocations: 8 kB / 0.5711 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.6517, allocations: 4 kB / 0.5711 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.652, allocations: 69.64 kB / 0.5712 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.652, allocations: 4 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.652, allocations: 4 kB / 0.5712 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6521, allocations: 1.031 kB / 0.5712 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.6522, allocations: 40.72 kB / 0.5713 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.6529, allocations: 339.3 kB / 0.5716 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.6533, allocations: 82.77 kB / 0.5717 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.6533, allocations: 4 kB / 0.5717 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.6535, allocations: 72.16 kB / 0.5717 GB, free: 7.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.6536, allocations: 0 / 0.5717 GB, free: 7.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.001005/0.6546, allocations: 247.7 kB / 0.572 GB, free: 6.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.6546, allocations: 55.41 kB / 0.572 GB, free: 6.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.6551, allocations: 231.9 kB / 0.5722 GB, free: 6.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.6551, allocations: 29.7 kB / 0.5723 GB, free: 6.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6552, allocations: 172 kB / 0.5724 GB, free: 6.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.6553, allocations: 31.55 kB / 0.5725 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.6553, allocations: 0 / 0.5725 GB, free: 6.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6555, allocations: 322.8 kB / 0.5728 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.6556, allocations: 27.98 kB / 0.5728 GB, free: 5.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.6558, allocations: 59.14 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.6559, allocations: 31.98 kB / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6559, allocations: 0 / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003881/0.6563, allocations: 125.5 kB / 0.573 GB, free: 5.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.6564, allocations: 8 kB / 0.573 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6564, allocations: 0 / 0.573 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6564, allocations: 3.938 kB / 0.573 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.6566, allocations: 31.94 kB / 0.573 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6566, allocations: 4.469 kB / 0.5731 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.6567, allocations: 4.031 kB / 0.5731 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.6568, allocations: 4 kB / 0.5731 GB, free: 5.711 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 (13): * Single equations (assignments): 13 * 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.0001686/0.6569, allocations: 137.8 kB / 0.5732 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.657, allocations: 15.81 kB / 0.5732 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.6575, allocations: 178.9 kB / 0.5734 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6576, allocations: 0 / 0.5734 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6576, allocations: 4.703 kB / 0.5734 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6576, allocations: 8 kB / 0.5734 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.6586, allocations: 489.6 kB / 0.5739 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6586, allocations: 0 / 0.5739 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.6587, allocations: 16 kB / 0.5739 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.6587, allocations: 3.953 kB / 0.5739 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.6588, allocations: 4 kB / 0.5739 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.6588, allocations: 7.922 kB / 0.5739 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6588, allocations: 3.969 kB / 0.5739 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.6593, allocations: 256.9 kB / 0.5741 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6594, allocations: 104.9 kB / 0.5742 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.6595, allocations: 3.984 kB / 0.5742 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6596, allocations: 8 kB / 0.5742 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.6597, allocations: 11.98 kB / 0.5743 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.6597, allocations: 4 kB / 0.5743 GB, free: 4.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.66, allocations: 184.5 kB / 0.5744 GB, free: 4.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.66, allocations: 0 / 0.5744 GB, free: 4.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.6604, allocations: 51.83 kB / 0.5745 GB, free: 4.141 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 (13): * Single equations (assignments): 11 * 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.002182/0.6626, allocations: 1.215 MB / 0.5757 GB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.663, allocations: 99.83 kB / 0.5758 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.663, allocations: 0 / 0.5758 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.6632, allocations: 47.92 kB / 0.5758 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.6636, allocations: 20.73 kB / 0.5758 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.666, allocations: 1.124 MB / 0.5769 GB, free: 1.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.6665, allocations: 0.7355 MB / 0.5776 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.6667, allocations: 51.36 kB / 0.5777 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6667, allocations: 0 / 0.5777 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.821/3.488, allocations: 3.05 MB / 0.5807 GB, free: 13.79 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat