Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001056/0.001056, allocations: 179.6 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.348/1.348, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008357/0.0008356, allocations: 97.2 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.3498/0.3498, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 61.9 MB / 0.5096 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4745, allocations: 88.24 MB / 0.5958 GB, free: 6.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.4748, allocations: 83.91 kB / 0.5959 GB, free: 6.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.4854, allocations: 4.457 MB / 0.6002 GB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4854, allocations: 0 / 0.6002 GB, free: 2.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4854, allocations: 4 kB / 0.6002 GB, free: 2.332 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.0004325/0.4859, allocations: 387.1 kB / 0.6006 GB, free: 1.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4859, allocations: 8.031 kB / 0.6006 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.486, allocations: 42.5 kB / 0.6007 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.486, allocations: 3.906 kB / 0.6007 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.4862, allocations: 190.9 kB / 0.6008 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.4863, allocations: 4 kB / 0.6008 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.4863, allocations: 3.953 kB / 0.6009 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4864, allocations: 71.34 kB / 0.6009 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4865, allocations: 3.984 kB / 0.6009 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.4865, allocations: 0 / 0.6009 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4865, allocations: 0 / 0.6009 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.763e-05/0.4866, allocations: 27.92 kB / 0.601 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.4869, allocations: 280.9 kB / 0.6012 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.4871, allocations: 38.56 kB / 0.6013 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.4871, allocations: 7.984 kB / 0.6013 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.4872, allocations: 34.5 kB / 0.6013 GB, free: 1.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4872, allocations: 0 / 0.6013 GB, free: 1.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005153/0.4877, allocations: 153.5 kB / 0.6014 GB, free: 0.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.4877, allocations: 81.05 kB / 0.6015 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4879, allocations: 134 kB / 0.6016 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4879, allocations: 29.7 kB / 0.6017 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.488, allocations: 88.14 kB / 0.6018 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.488, allocations: 23.73 kB / 0.6018 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.488, allocations: 0 / 0.6018 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.4881, allocations: 310.8 kB / 0.6021 GB, free: 228 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.4882, allocations: 23.98 kB / 0.6021 GB, free: 204 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.4883, allocations: 37.7 kB / 0.6021 GB, free: 160 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.4883, allocations: 27.94 kB / 0.6022 GB, free: 132 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4884, allocations: 4 kB / 0.6022 GB, free: 128 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001771/0.4885, allocations: 85.61 kB / 0.6022 GB, free: 36 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4886, allocations: 6.188 kB / 0.6023 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.4886, allocations: 0 / 0.6023 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4886, allocations: 3.984 kB / 0.6023 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.4887, allocations: 15.94 kB / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4887, allocations: 0 / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.4887, allocations: 12.22 kB / 0.6023 GB, free: 0 / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.4888, allocations: 4.094 kB / 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 8.54e-05/0.4888, allocations: 118.3 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.4889, allocations: 7.906 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.4891, allocations: 97.61 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4891, allocations: 8.312 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4891, allocations: 0 / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4891, allocations: 3.938 kB / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.4895, allocations: 354.5 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4895, allocations: 0 / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.4896, allocations: 23.98 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4896, allocations: 0 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4896, allocations: 4 kB / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4896, allocations: 0 / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4896, allocations: 0 / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.4898, allocations: 187.3 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.4899, allocations: 89 kB / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.4899, allocations: 0 / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.49, allocations: 12 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.49, allocations: 7.922 kB / 0.6032 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.49, allocations: 4 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.4901, allocations: 100.9 kB / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4901, allocations: 0 / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000244/0.4904, allocations: 31.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.001235/0.4916, allocations: 1.061 MB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.4918, allocations: 51.97 kB / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4918, allocations: 4 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.4919, allocations: 27.92 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.0001856/0.4921, allocations: 15.98 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.0009222/0.493, allocations: 0.5323 MB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4933, allocations: 0.6965 MB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.665e-05/0.4934, allocations: 4.25 kB / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.4934, allocations: 31.42 kB / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4935, allocations: 0 / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.5078, allocations: 2.272 MB / 0.6079 GB, free: 10.37 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.5081, allocations: 216.2 kB / 0.6081 GB, free: 10.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.015, allocations: 0 / 0.6081 GB, free: 10.13 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat