Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001864/0.001863, allocations: 175.9 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.437/1.437, allocations: 223.2 MB / 241 MB, free: 10.18 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.001014/0.001014, allocations: 102.6 kB / 292.1 MB, free: 10.73 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.3074/0.3074, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 15.98 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3567, allocations: 61.9 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.4688, allocations: 88.16 MB / 0.5957 GB, free: 6.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4691, allocations: 87.88 kB / 0.5958 GB, free: 6.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.4805, allocations: 4.292 MB / 0.6 GB, free: 2.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4805, allocations: 0 / 0.6 GB, free: 2.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4805, allocations: 4 kB / 0.6 GB, free: 2.602 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.0004707/0.481, allocations: 414.8 kB / 0.6004 GB, free: 2.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4811, allocations: 8.031 kB / 0.6004 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.4811, allocations: 30.56 kB / 0.6004 GB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.4811, allocations: 7.906 kB / 0.6004 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4814, allocations: 207.9 kB / 0.6006 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4814, allocations: 4 kB / 0.6006 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.4815, allocations: 7.953 kB / 0.6007 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4816, allocations: 57.62 kB / 0.6007 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4816, allocations: 3.906 kB / 0.6007 GB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4816, allocations: 7.922 kB / 0.6007 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4817, allocations: 4 kB / 0.6007 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4818, allocations: 27.98 kB / 0.6008 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.4823, allocations: 308.8 kB / 0.601 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.4824, allocations: 46.5 kB / 0.6011 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.4824, allocations: 4 kB / 0.6011 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4824, allocations: 30.56 kB / 0.6011 GB, free: 1.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4825, allocations: 0 / 0.6011 GB, free: 1.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009102/0.4834, allocations: 269.5 kB / 0.6014 GB, free: 1.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.4834, allocations: 51.41 kB / 0.6014 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.4836, allocations: 187.1 kB / 0.6016 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.4836, allocations: 25.7 kB / 0.6016 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.4837, allocations: 116 kB / 0.6017 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.4838, allocations: 23.66 kB / 0.6018 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-06/0.4838, allocations: 0 / 0.6018 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4839, allocations: 326.8 kB / 0.6021 GB, free: 272 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.484, allocations: 35.97 kB / 0.6021 GB, free: 236 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.4841, allocations: 27.98 kB / 0.6021 GB, free: 208 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/0.4842, allocations: 47.98 kB / 0.6022 GB, free: 160 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4842, allocations: 0 / 0.6022 GB, free: 160 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002275/0.4844, allocations: 121.5 kB / 0.6023 GB, free: 32 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4844, allocations: 4 kB / 0.6023 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4844, allocations: 0 / 0.6023 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4845, allocations: 4 kB / 0.6023 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4846, allocations: 23.98 kB / 0.6023 GB, free: 0 / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4846, allocations: 128 / 0.6023 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.4847, allocations: 11.94 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4847, allocations: 0 / 0.6023 GB, free: 15.98 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 (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 0.00011/0.4848, allocations: 138.2 kB / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.4848, allocations: 7.906 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.4851, allocations: 134.4 kB / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4851, allocations: 0 / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4852, allocations: 3.984 kB / 0.6026 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4852, allocations: 0 / 0.6026 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.4857, allocations: 451.2 kB / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4858, allocations: 0 / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.4858, allocations: 19.98 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4858, allocations: 0 / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4859, allocations: 4.031 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4859, allocations: 7.938 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4859, allocations: 480 / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.4862, allocations: 241.9 kB / 0.6033 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.4863, allocations: 96.95 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4863, allocations: 0 / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.4864, allocations: 7.984 kB / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.4865, allocations: 11.95 kB / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.4865, allocations: 7.984 kB / 0.6034 GB, free: 14.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4866, allocations: 152 kB / 0.6036 GB, free: 14.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4866, allocations: 0 / 0.6036 GB, free: 14.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.4869, allocations: 39.78 kB / 0.6036 GB, free: 14.57 MB / 426.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 () * Number of clocked 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.001481/0.4884, allocations: 1.181 MB / 0.6048 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.4886, allocations: 83.88 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4886, allocations: 0 / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.4887, allocations: 39.98 kB / 0.6049 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.489, allocations: 23.94 kB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4902, allocations: 0.7886 MB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4906, allocations: 0.7119 MB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.078e-05/0.4907, allocations: 28.94 kB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.4907, allocations: 35.42 kB / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4907, allocations: 0 / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.5055, allocations: 2.706 MB / 0.6091 GB, free: 9.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/0.5058, allocations: 218.7 kB / 0.6093 GB, free: 8.918 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.077, allocations: 0 / 0.6093 GB, free: 8.918 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat does not exist to compare? outputFormat=mat