Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.002084/0.002084, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.33/1.33, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008262/0.0008262, allocations: 101.6 kB / 292.1 MB, free: 10.89 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.3672/0.3672, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 61.9 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.4451, allocations: 87.45 MB / 0.595 GB, free: 7.652 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4454, allocations: 83.92 kB / 0.5951 GB, free: 7.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006687/0.4521, allocations: 3.23 MB / 0.5983 GB, free: 4.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4521, allocations: 4 kB / 0.5983 GB, free: 4.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4521, allocations: 0 / 0.5983 GB, free: 4.324 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003257/0.4525, allocations: 367.1 kB / 0.5986 GB, free: 3.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4525, allocations: 8.031 kB / 0.5986 GB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.4526, allocations: 38.56 kB / 0.5987 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.4526, allocations: 7.906 kB / 0.5987 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4527, allocations: 183.2 kB / 0.5989 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4528, allocations: 0 / 0.5989 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.4528, allocations: 11.94 kB / 0.5989 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.453, allocations: 187.3 kB / 0.599 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4531, allocations: 3.938 kB / 0.5991 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4531, allocations: 4 kB / 0.5991 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.4531, allocations: 8 kB / 0.5991 GB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.89e-05/0.4532, allocations: 55.78 kB / 0.5991 GB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.4543, allocations: 1.701 MB / 0.6008 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.4544, allocations: 177.1 kB / 0.6009 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.4544, allocations: 79.22 kB / 0.601 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.4545, allocations: 109.8 kB / 0.6011 GB, free: 1.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4545, allocations: 0 / 0.6011 GB, free: 1.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.654e-05/0.4546, allocations: 37.52 kB / 0.6012 GB, free: 1.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.4547, allocations: 130.7 kB / 0.6013 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.4549, allocations: 171.3 kB / 0.6014 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4549, allocations: 25.7 kB / 0.6015 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.455, allocations: 151.1 kB / 0.6016 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.455, allocations: 0 / 0.6016 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.455, allocations: 4 kB / 0.6016 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4552, allocations: 326.8 kB / 0.6019 GB, free: 264 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.4552, allocations: 27.98 kB / 0.602 GB, free: 236 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4553, allocations: 155.5 kB / 0.6021 GB, free: 20 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.4555, allocations: 71.91 kB / 0.6022 GB, free: 15.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4555, allocations: 0 / 0.6022 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003002/0.4558, allocations: 197.5 kB / 0.6024 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4558, allocations: 8 kB / 0.6024 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4558, allocations: 7.938 kB / 0.6024 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4558, allocations: 8 kB / 0.6024 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.456, allocations: 39.91 kB / 0.6024 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.456, allocations: 7.953 kB / 0.6024 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.4561, allocations: 19.75 kB / 0.6025 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.4561, allocations: 16 kB / 0.6025 GB, free: 15.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001297/0.4562, allocations: 217.8 kB / 0.6027 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.4563, allocations: 112.8 kB / 0.6028 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.4564, allocations: 112.9 kB / 0.6029 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.909e-05/0.4565, allocations: 184.2 kB / 0.6031 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.979e-05/0.4565, allocations: 180.2 kB / 0.6032 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.653e-05/0.4566, allocations: 188.2 kB / 0.6034 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.4569, allocations: 425.1 kB / 0.6038 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/0.4569, allocations: 101 kB / 0.6039 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.457, allocations: 108.9 kB / 0.604 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.15e-05/0.4571, allocations: 180.3 kB / 0.6042 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.4572, allocations: 176.3 kB / 0.6044 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.618e-05/0.4572, allocations: 196.2 kB / 0.6046 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.904e-05/0.4573, allocations: 180.3 kB / 0.6047 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.4575, allocations: 311.6 kB / 0.605 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.4576, allocations: 190 kB / 0.6052 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.4577, allocations: 184.2 kB / 0.6054 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.4578, allocations: 105 kB / 0.6055 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.4578, allocations: 180.2 kB / 0.6056 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.4579, allocations: 105 kB / 0.6057 GB, free: 12.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.458, allocations: 129 kB / 0.6059 GB, free: 11.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.458, allocations: 0 / 0.6059 GB, free: 11.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.4583, allocations: 16 kB / 0.6059 GB, free: 11.92 MB / 426.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 (0): * Single equations (assignments): 0 * 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.0007963/0.4591, allocations: 0.9286 MB / 0.6068 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.4593, allocations: 72.64 kB / 0.6069 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4593, allocations: 7.938 kB / 0.6069 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4593, allocations: 4 kB / 0.6069 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4596, allocations: 0.5193 MB / 0.6074 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4619, allocations: 3.653 MB / 0.6109 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.4622, allocations: 0.697 MB / 0.6116 GB, free: 5.891 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.4624, allocations: 53.02 kB / 0.6117 GB, free: 5.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.4624, allocations: 27.42 kB / 0.6117 GB, free: 5.812 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4624, allocations: 0 / 0.6117 GB, free: 5.812 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.4758, allocations: 1.986 MB / 0.6136 GB, free: 3.949 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.476, allocations: 205.1 kB / 0.6138 GB, free: 3.715 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.004, allocations: 3 kB / 0.6138 GB, free: 3.715 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat does not exist to compare? outputFormat=mat