Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",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.002287/0.002293, allocations: 188.9 kB / 16.41 MB, free: 5.723 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.18/2.18, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001213/0.001213, allocations: 93.97 kB / 270.9 MB, free: 8.371 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.5617/0.5617, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006612, allocations: 20 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1405, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6276, allocations: 86.38 MB / 0.5632 GB, free: 272 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.628, allocations: 67.97 kB / 0.5632 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.6448, allocations: 3.929 MB / 0.5671 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6449, allocations: 0 / 0.5671 GB, free: 12.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.6449, allocations: 0 / 0.5671 GB, free: 12.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006023/0.6455, allocations: 419 kB / 0.5675 GB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.6456, allocations: 12.03 kB / 0.5675 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.6456, allocations: 35.31 kB / 0.5675 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.6457, allocations: 11.34 kB / 0.5675 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.646, allocations: 194.9 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.646, allocations: 0 / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.6461, allocations: 4 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.6463, allocations: 58.55 kB / 0.5678 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6463, allocations: 0 / 0.5678 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.6464, allocations: 3.938 kB / 0.5678 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6464, allocations: 3.938 kB / 0.5678 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.6465, allocations: 25.02 kB / 0.5678 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.6471, allocations: 280.8 kB / 0.5681 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.6474, allocations: 50.56 kB / 0.5681 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.6474, allocations: 7.922 kB / 0.5681 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.6474, allocations: 34.64 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.6475, allocations: 4 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008729/0.6483, allocations: 161.2 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.6484, allocations: 59.36 kB / 0.5684 GB, free: 10.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.6487, allocations: 181.4 kB / 0.5686 GB, free: 10.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.6488, allocations: 29.7 kB / 0.5686 GB, free: 10.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.6489, allocations: 166.5 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.6489, allocations: 15.75 kB / 0.5688 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.6489, allocations: 0 / 0.5688 GB, free: 10.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6491, allocations: 315.1 kB / 0.5691 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6492, allocations: 19.98 kB / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.6493, allocations: 23.98 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.6495, allocations: 23.98 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6495, allocations: 0 / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003249/0.6498, allocations: 85.67 kB / 0.5692 GB, free: 9.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6499, allocations: 4 kB / 0.5692 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6499, allocations: 3.938 kB / 0.5692 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6499, allocations: 3.984 kB / 0.5692 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.65, allocations: 12 kB / 0.5692 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.65, allocations: 0 / 0.5692 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.6501, allocations: 15.94 kB / 0.5692 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.6502, allocations: 0 / 0.5692 GB, free: 9.891 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001588/0.6503, allocations: 129.8 kB / 0.5694 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.6504, allocations: 11.91 kB / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.6508, allocations: 109.8 kB / 0.5695 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6508, allocations: 288 / 0.5695 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6508, allocations: 3.938 kB / 0.5695 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6508, allocations: 4 kB / 0.5695 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.6516, allocations: 366.5 kB / 0.5698 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6516, allocations: 3.984 kB / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.6517, allocations: 19.98 kB / 0.5699 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.6517, allocations: 4 kB / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.6517, allocations: 0 / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6517, allocations: 384 / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6518, allocations: 3.953 kB / 0.5699 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.6521, allocations: 199.4 kB / 0.5701 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.6522, allocations: 89.02 kB / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.6523, allocations: 3.938 kB / 0.5702 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6524, allocations: 15.98 kB / 0.5702 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.6525, allocations: 0 / 0.5702 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.6525, allocations: 7.953 kB / 0.5702 GB, free: 8.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.6527, allocations: 155.8 kB / 0.5703 GB, free: 8.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.695e-06/0.6527, allocations: 0 / 0.5703 GB, free: 8.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.6531, allocations: 27.94 kB / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001828/0.6549, allocations: 1.018 MB / 0.5713 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.6553, allocations: 55.97 kB / 0.5714 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6553, allocations: 0 / 0.5714 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.6555, allocations: 35.86 kB / 0.5714 GB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.6558, allocations: 11.98 kB / 0.5714 GB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.6576, allocations: 0.7184 MB / 0.5721 GB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.658, allocations: 0.7083 MB / 0.5728 GB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.6581, allocations: 27.42 kB / 0.5729 GB, free: 6.082 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6582, allocations: 0 / 0.5729 GB, free: 6.082 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.649/3.307, allocations: 2.07 MB / 0.5749 GB, free: 4.012 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat