Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001917/0.001917, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.773/1.773, allocations: 221.3 MB / 236 MB, free: 2.938 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.0009534/0.0009535, allocations: 95.66 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.448e-05, allocations: 0 / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.6265, allocations: 87.97 MB / 0.5877 GB, free: 1.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.6269, allocations: 71.95 kB / 0.5878 GB, free: 1.199 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.6382, allocations: 4.18 MB / 0.5919 GB, free: 13.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6383, allocations: 0 / 0.5919 GB, free: 13.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.6383, allocations: 0 / 0.5919 GB, free: 13.03 MB / 410.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.0004475/0.6387, allocations: 398.2 kB / 0.5922 GB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.6388, allocations: 11.97 kB / 0.5922 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.6389, allocations: 34.56 kB / 0.5923 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.6389, allocations: 11.91 kB / 0.5923 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.6392, allocations: 198.1 kB / 0.5925 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.6392, allocations: 4 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.6393, allocations: 7.953 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.6394, allocations: 53.61 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6394, allocations: 4 kB / 0.5925 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6394, allocations: 4 kB / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.6394, allocations: 4 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.6395, allocations: 12 kB / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.64, allocations: 296.7 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.6401, allocations: 42.5 kB / 0.5929 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.6401, allocations: 16.86 kB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.6401, allocations: 0 / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.6402, allocations: 34.56 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6402, allocations: 0 / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005498/0.6407, allocations: 153.3 kB / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.6408, allocations: 55.41 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.641, allocations: 169.9 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.641, allocations: 25.7 kB / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.6411, allocations: 108.1 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.6411, allocations: 23.62 kB / 0.5935 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.6411, allocations: 0 / 0.5935 GB, free: 11.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6412, allocations: 322.8 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.6413, allocations: 20 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.6413, allocations: 12 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.6413, allocations: 27.92 kB / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6414, allocations: 0 / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001401/0.6415, allocations: 85.58 kB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6415, allocations: 5.094 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6415, allocations: 0 / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6416, allocations: 4 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.6417, allocations: 19.98 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6417, allocations: 0 / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.6418, allocations: 8 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.6418, allocations: 7.938 kB / 0.5939 GB, free: 10.68 MB / 410.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 (8): * Single equations (assignments): 8 * 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 7.323e-05/0.6419, allocations: 120.9 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.6419, allocations: 11.81 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.6421, allocations: 94.55 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6421, allocations: 4 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6421, allocations: 0 / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6421, allocations: 3.938 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.6426, allocations: 399.3 kB / 0.5945 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6426, allocations: 4 kB / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.6427, allocations: 19.98 kB / 0.5946 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.6427, allocations: 0 / 0.5946 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.6427, allocations: 0 / 0.5946 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6428, allocations: 3.938 kB / 0.5946 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6428, allocations: 4 kB / 0.5946 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.6429, allocations: 197.9 kB / 0.5948 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.643, allocations: 97 kB / 0.5949 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.6431, allocations: 0 / 0.5949 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.6431, allocations: 4 kB / 0.5949 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.6432, allocations: 11.94 kB / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.6432, allocations: 8 kB / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.6433, allocations: 150.2 kB / 0.595 GB, free: 9.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6433, allocations: 0 / 0.595 GB, free: 9.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.6436, allocations: 24 kB / 0.595 GB, free: 9.434 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001364/0.645, allocations: 1.108 MB / 0.5961 GB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.6451, allocations: 51.92 kB / 0.5962 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6452, allocations: 0 / 0.5962 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.6452, allocations: 27.94 kB / 0.5962 GB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.6454, allocations: 19.94 kB / 0.5962 GB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.646, allocations: 231.5 kB / 0.5964 GB, free: 8.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.6463, allocations: 0.7043 MB / 0.5971 GB, free: 7.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.6464, allocations: 17.03 kB / 0.5971 GB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.6464, allocations: 39.36 kB / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6465, allocations: 0 / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.6611, allocations: 2.588 MB / 0.5997 GB, free: 4.746 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.6613, allocations: 191 kB / 0.5999 GB, free: 4.516 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.257, allocations: 7.875 kB / 0.5999 GB, free: 4.508 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat does not exist to compare? outputFormat=mat