Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.001082/0.001082, allocations: 177.3 kB / 17.06 MB, free: 5.094 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.43/1.43, allocations: 223.2 MB / 241 MB, free: 11.88 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.0007947/0.0007946, allocations: 97.33 kB / 292.1 MB, free: 10.9 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.2986/0.2986, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 12 kB / 460 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3633, allocations: 61.88 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.474, allocations: 88.24 MB / 0.5958 GB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4743, allocations: 83.91 kB / 0.5959 GB, free: 6.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.4885, allocations: 4.462 MB / 0.6002 GB, free: 2.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4886, allocations: 0 / 0.6002 GB, free: 2.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.4886, allocations: 4 kB / 0.6002 GB, free: 2.328 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.0005482/0.4891, allocations: 387.1 kB / 0.6006 GB, free: 1.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4892, allocations: 8.031 kB / 0.6006 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.4893, allocations: 38.5 kB / 0.6007 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.4893, allocations: 3.906 kB / 0.6007 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4896, allocations: 195.9 kB / 0.6009 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4896, allocations: 0 / 0.6009 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4897, allocations: 7.891 kB / 0.6009 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.4899, allocations: 71.39 kB / 0.6009 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4899, allocations: 0 / 0.6009 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4899, allocations: 0 / 0.6009 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.4899, allocations: 0 / 0.6009 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.49, allocations: 27.92 kB / 0.601 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.4905, allocations: 284.9 kB / 0.6012 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.4908, allocations: 38.56 kB / 0.6013 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.4908, allocations: 0 / 0.6013 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4909, allocations: 34.56 kB / 0.6013 GB, free: 1.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 3.126e-06/0.4909, allocations: 0 / 0.6013 GB, free: 1.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007041/0.4916, allocations: 149.5 kB / 0.6014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.4917, allocations: 81.11 kB / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.4919, allocations: 140.1 kB / 0.6016 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4919, allocations: 25.7 kB / 0.6017 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.492, allocations: 92.14 kB / 0.6018 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.492, allocations: 19.73 kB / 0.6018 GB, free: 0.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.492, allocations: 0 / 0.6018 GB, free: 0.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4922, allocations: 314.8 kB / 0.6021 GB, free: 232 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4924, allocations: 31.92 kB / 0.6021 GB, free: 200 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.4925, allocations: 33.7 kB / 0.6021 GB, free: 160 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.4926, allocations: 23.94 kB / 0.6022 GB, free: 136 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4926, allocations: 0 / 0.6022 GB, free: 136 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002536/0.4928, allocations: 93.61 kB / 0.6023 GB, free: 36 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4929, allocations: 4 kB / 0.6023 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4929, allocations: 3.984 kB / 0.6023 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4929, allocations: 0 / 0.6023 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.493, allocations: 15.94 kB / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.493, allocations: 0 / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.4931, allocations: 16.03 kB / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4931, allocations: 0 / 0.6023 GB, free: 15.99 MB / 426.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.0001245/0.4933, allocations: 118.3 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.4933, allocations: 7.906 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.4936, allocations: 97.58 kB / 0.6025 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4937, allocations: 0 / 0.6025 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4937, allocations: 3.938 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4937, allocations: 4 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.4943, allocations: 350.5 kB / 0.6028 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4943, allocations: 384 / 0.6028 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.4944, allocations: 19.98 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.4944, allocations: 288 / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4944, allocations: 4 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4944, allocations: 4 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4944, allocations: 0 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.4948, allocations: 195.3 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.4949, allocations: 89 kB / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.4949, allocations: 0 / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.495, allocations: 4 kB / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.4951, allocations: 7.984 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.4951, allocations: 4 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.4952, allocations: 103.3 kB / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4952, allocations: 4 kB / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004086/0.4957, allocations: 27.98 kB / 0.6033 GB, free: 14.86 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 (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.002011/0.4977, allocations: 1.065 MB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.4979, allocations: 51.97 kB / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.498, allocations: 0 / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4981, allocations: 31.97 kB / 0.6044 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.4983, allocations: 15.94 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4998, allocations: 0.5258 MB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.5002, allocations: 0.6965 MB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.184e-05/0.5003, allocations: 4 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.5004, allocations: 23.48 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5004, allocations: 4 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.5186, allocations: 2.266 MB / 0.6079 GB, free: 10.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.519, allocations: 220.4 kB / 0.6081 GB, free: 10.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.145, allocations: 0 / 0.6081 GB, free: 10.14 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat does not exist to compare? outputFormat=mat