Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8",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.001499/0.001499, allocations: 185.3 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.142/2.142, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001752/0.001752, allocations: 95.08 kB / 270.9 MB, free: 8.395 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.5144/0.5144, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006669/0.0006671, allocations: 19.92 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1372, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.6165, allocations: 86.45 MB / 0.5633 GB, free: 76 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.6169, allocations: 71.97 kB / 0.5633 GB, free: 4 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.6332, allocations: 3.577 MB / 0.5668 GB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6332, allocations: 3.938 kB / 0.5668 GB, free: 12.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.6333, allocations: 8 kB / 0.5668 GB, free: 12.45 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.0007244/0.634, allocations: 392.2 kB / 0.5672 GB, free: 12.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.6341, allocations: 8.031 kB / 0.5672 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.6342, allocations: 34.56 kB / 0.5672 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.6343, allocations: 11.34 kB / 0.5673 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.6347, allocations: 201.5 kB / 0.5674 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.6348, allocations: 0 / 0.5674 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.6348, allocations: 4.562 kB / 0.5674 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.6352, allocations: 55.25 kB / 0.5675 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.6352, allocations: 3.984 kB / 0.5675 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.6352, allocations: 0 / 0.5675 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.6353, allocations: 0 / 0.5675 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.6355, allocations: 29.02 kB / 0.5675 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.6363, allocations: 284.4 kB / 0.5678 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.6367, allocations: 50.48 kB / 0.5679 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.6368, allocations: 0 / 0.5679 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.6368, allocations: 38.56 kB / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.334e-06/0.6368, allocations: 0 / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001285/0.6381, allocations: 161.4 kB / 0.568 GB, free: 11.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.6382, allocations: 59.34 kB / 0.5681 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.6385, allocations: 141.2 kB / 0.5682 GB, free: 10.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.6386, allocations: 25.7 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.6387, allocations: 158.5 kB / 0.5684 GB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.6388, allocations: 23.66 kB / 0.5684 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.6388, allocations: 0 / 0.5684 GB, free: 10.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.639, allocations: 318.8 kB / 0.5687 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.6393, allocations: 24.17 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.6395, allocations: 23.98 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.6397, allocations: 28.86 kB / 0.5688 GB, free: 10.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6397, allocations: 4 kB / 0.5688 GB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005073/0.6403, allocations: 89.59 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.6403, allocations: 4 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6403, allocations: 0 / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.6404, allocations: 0 / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.6406, allocations: 16 kB / 0.5689 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6406, allocations: 4.25 kB / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.6408, allocations: 15.94 kB / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.6408, allocations: 4 kB / 0.5689 GB, free: 10.08 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.0001891/0.641, allocations: 121.8 kB / 0.5691 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.6411, allocations: 7.891 kB / 0.5691 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/0.6417, allocations: 109.9 kB / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.6418, allocations: 0 / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6418, allocations: 0 / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6418, allocations: 0 / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.6429, allocations: 370.5 kB / 0.5695 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.643, allocations: 0 / 0.5695 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.6432, allocations: 15.98 kB / 0.5695 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.6432, allocations: 0 / 0.5695 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6433, allocations: 0 / 0.5695 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.6433, allocations: 3.938 kB / 0.5695 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.6433, allocations: 8.703 kB / 0.5695 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.644, allocations: 195.4 kB / 0.5697 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.6441, allocations: 85.02 kB / 0.5698 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.6442, allocations: 3.984 kB / 0.5698 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.6444, allocations: 8 kB / 0.5698 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.6445, allocations: 4.281 kB / 0.5698 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.6445, allocations: 11.94 kB / 0.5698 GB, free: 9.051 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.6448, allocations: 118.1 kB / 0.57 GB, free: 8.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.6448, allocations: 7.875 kB / 0.57 GB, free: 8.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005882/0.6454, allocations: 19.98 kB / 0.57 GB, free: 8.91 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.002927/0.6484, allocations: 1.024 MB / 0.571 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.649, allocations: 59.95 kB / 0.571 GB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.649, allocations: 4 kB / 0.571 GB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.6492, allocations: 31.92 kB / 0.5711 GB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.6497, allocations: 15.98 kB / 0.5711 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.6523, allocations: 0.6259 MB / 0.5717 GB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.6529, allocations: 0.7004 MB / 0.5724 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.653, allocations: 23.48 kB / 0.5724 GB, free: 6.438 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6531, allocations: 0 / 0.5724 GB, free: 6.438 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.898/3.551, allocations: 1.848 MB / 0.5742 GB, free: 4.59 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat does not exist to compare? outputFormat=mat