Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 172 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 230.7 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009561, allocations: 97.48 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.71e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5167, allocations: 88.44 MB / 0.5811 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.517, allocations: 71.97 kB / 0.5812 GB, free: 7.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01961/0.5366, allocations: 4.417 MB / 0.5855 GB, free: 3.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5367, allocations: 4 kB / 0.5855 GB, free: 3.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.5367, allocations: 0 / 0.5855 GB, free: 3.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005755/0.5373, allocations: 386.2 kB / 0.5859 GB, free: 3.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.5374, allocations: 11.98 kB / 0.5859 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.5374, allocations: 7.906 kB / 0.5859 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.5378, allocations: 194.9 kB / 0.5861 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.5378, allocations: 3.953 kB / 0.5861 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.5378, allocations: 4 kB / 0.5861 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001222/0.538, allocations: 27.98 kB / 0.5861 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.5382, allocations: 71.31 kB / 0.5862 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5382, allocations: 0 / 0.5862 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5382, allocations: 0 / 0.5862 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5382, allocations: 0 / 0.5862 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.5389, allocations: 289.3 kB / 0.5865 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.539, allocations: 34.56 kB / 0.5865 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.5391, allocations: 16.86 kB / 0.5865 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.5391, allocations: 7.922 kB / 0.5865 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.5391, allocations: 38.56 kB / 0.5866 GB, free: 2.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.5391, allocations: 0 / 0.5866 GB, free: 2.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007229/0.5399, allocations: 145.4 kB / 0.5867 GB, free: 2.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.54, allocations: 81.05 kB / 0.5868 GB, free: 1.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.5402, allocations: 131.4 kB / 0.5869 GB, free: 1.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5402, allocations: 29.7 kB / 0.5869 GB, free: 1.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.5403, allocations: 99.98 kB / 0.587 GB, free: 1.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.5403, allocations: 19.7 kB / 0.5871 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.5403, allocations: 0 / 0.5871 GB, free: 1.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5405, allocations: 326.8 kB / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.5406, allocations: 16.75 kB / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.5407, allocations: 33.7 kB / 0.5874 GB, free: 1.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.85e-05/0.5407, allocations: 28.05 kB / 0.5874 GB, free: 1.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5408, allocations: 4.031 kB / 0.5874 GB, free: 1.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002197/0.541, allocations: 81.59 kB / 0.5875 GB, free: 1.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.541, allocations: 4 kB / 0.5875 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.541, allocations: 0 / 0.5875 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5411, allocations: 0 / 0.5875 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.5413, allocations: 31.86 kB / 0.5876 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5413, allocations: 0 / 0.5876 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.5415, allocations: 15.98 kB / 0.5876 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.5415, allocations: 4 kB / 0.5876 GB, free: 1.109 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.228e-05/0.5416, allocations: 108.9 kB / 0.5877 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002337/0.5418, allocations: 85.58 kB / 0.5878 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.5419, allocations: 11.84 kB / 0.5878 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.5422, allocations: 98.2 kB / 0.5879 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.5422, allocations: 4 kB / 0.5879 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5422, allocations: 0 / 0.5879 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5423, allocations: 4 kB / 0.5879 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.5428, allocations: 343.5 kB / 0.5882 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5429, allocations: 0 / 0.5882 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.543, allocations: 27.91 kB / 0.5882 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5431, allocations: 0 / 0.5882 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5431, allocations: 4 kB / 0.5882 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5431, allocations: 0 / 0.5882 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5431, allocations: 80 / 0.5882 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5434, allocations: 191.4 kB / 0.5884 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.5435, allocations: 89.02 kB / 0.5885 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.5435, allocations: 0 / 0.5885 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5437, allocations: 15.98 kB / 0.5885 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.5438, allocations: 3.984 kB / 0.5885 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.5438, allocations: 8 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.5439, allocations: 112.5 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.544, allocations: 0 / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004837/0.5445, allocations: 27.95 kB / 0.5887 GB, free: 15.9 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001758/0.5462, allocations: 0.9885 MB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5465, allocations: 55.97 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.5465, allocations: 7.938 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.5466, allocations: 27.98 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.5469, allocations: 12.72 kB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.5477, allocations: 181.8 kB / 0.5899 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.5481, allocations: 0.7041 MB / 0.5906 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.5482, allocations: 28.89 kB / 0.5906 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.5483, allocations: 27.42 kB / 0.5906 GB, free: 13.87 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5483, allocations: 0 / 0.5906 GB, free: 13.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.573, allocations: 2.269 MB / 0.5929 GB, free: 11.61 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.5733, allocations: 161.5 kB / 0.593 GB, free: 11.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.174, allocations: 0 / 0.593 GB, free: 11.42 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat