Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.001119/0.001119, allocations: 180.4 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.476/1.476, allocations: 221.3 MB / 236 MB, free: 2.953 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.000889/0.0008891, allocations: 95.8 kB / 287 MB, free: 256 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.2196/0.2196, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.941e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1778, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5292/0.707, allocations: 88.27 MB / 0.588 GB, free: 1.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.7073, allocations: 71.95 kB / 0.5881 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01177/0.7191, allocations: 4.299 MB / 0.5923 GB, free: 12.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7192, allocations: 4 kB / 0.5923 GB, free: 12.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.7192, allocations: 4 kB / 0.5923 GB, free: 12.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006052/0.7198, allocations: 370.3 kB / 0.5926 GB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.7199, allocations: 8.031 kB / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.72, allocations: 30.56 kB / 0.5927 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.72, allocations: 11.91 kB / 0.5927 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.7203, allocations: 186.9 kB / 0.5929 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.7204, allocations: 4 kB / 0.5929 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.7204, allocations: 3.953 kB / 0.5929 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7206, allocations: 63.41 kB / 0.5929 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.7206, allocations: 0 / 0.5929 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7206, allocations: 0 / 0.5929 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.7206, allocations: 0 / 0.5929 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/0.7207, allocations: 23.92 kB / 0.593 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.7212, allocations: 288.8 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.7214, allocations: 38.56 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.7214, allocations: 20.78 kB / 0.5933 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.7215, allocations: 0 / 0.5933 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.7215, allocations: 30.56 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.7215, allocations: 0 / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004385/0.722, allocations: 117.4 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.722, allocations: 81.11 kB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.7222, allocations: 118.4 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.7222, allocations: 29.7 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.7223, allocations: 88.14 kB / 0.5937 GB, free: 10.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.7223, allocations: 19.73 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.7223, allocations: 0 / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7224, allocations: 326.8 kB / 0.5941 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.7225, allocations: 15.98 kB / 0.5941 GB, free: 10.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.7225, allocations: 25.78 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.7226, allocations: 15.98 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.7226, allocations: 0 / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001104/0.7227, allocations: 69.59 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7227, allocations: 9.031 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7227, allocations: 0 / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7227, allocations: 0 / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.7228, allocations: 16.03 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7228, allocations: 0 / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.7229, allocations: 11.98 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.7229, allocations: 0 / 0.5942 GB, free: 10.43 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 (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 7.741e-05/0.723, allocations: 104.9 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.723, allocations: 7.906 kB / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.7232, allocations: 77.77 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7232, allocations: 7.938 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7233, allocations: 7.938 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.7233, allocations: 0 / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.7236, allocations: 334.5 kB / 0.5947 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7237, allocations: 0 / 0.5947 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.7237, allocations: 15.98 kB / 0.5947 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.7237, allocations: 3.938 kB / 0.5948 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.7238, allocations: 0 / 0.5948 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.7238, allocations: 8.312 kB / 0.5948 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7238, allocations: 0 / 0.5948 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.724, allocations: 171.3 kB / 0.5949 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.724, allocations: 89 kB / 0.595 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.7241, allocations: 4 kB / 0.595 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.7241, allocations: 4 kB / 0.595 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.7242, allocations: 3.984 kB / 0.595 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.7242, allocations: 8 kB / 0.595 GB, free: 9.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.7243, allocations: 111 kB / 0.5951 GB, free: 9.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7243, allocations: 0 / 0.5951 GB, free: 9.387 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.7246, allocations: 20 kB / 0.5952 GB, free: 9.367 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 (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.001452/0.726, allocations: 1.004 MB / 0.5961 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.7262, allocations: 31.98 kB / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7262, allocations: 0 / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.7262, allocations: 23.94 kB / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.7265, allocations: 19.83 kB / 0.5962 GB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.727, allocations: 159.1 kB / 0.5964 GB, free: 8.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.7272, allocations: 0.6926 MB / 0.597 GB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.7273, allocations: 20.02 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.7274, allocations: 27.42 kB / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7274, allocations: 0 / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.7433, allocations: 2.295 MB / 0.5993 GB, free: 5.199 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.7435, allocations: 184.8 kB / 0.5995 GB, free: 4.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.532, allocations: 0 / 0.5995 GB, free: 4.98 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat does not exist to compare? outputFormat=mat