Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001367/0.001367, allocations: 177 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.339/1.339, allocations: 223.2 MB / 241 MB, free: 11.9 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.00107/0.00107, allocations: 98.5 kB / 292.1 MB, free: 10.91 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.3392/0.3392, allocations: 44.22 MB / 387.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 8 kB / 460 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3507, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4673, allocations: 89.98 MB / 0.5975 GB, free: 5.168 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4676, allocations: 83.91 kB / 0.5976 GB, free: 5.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02483/0.4924, allocations: 9.516 MB / 0.6069 GB, free: 11.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4924, allocations: 0 / 0.6069 GB, free: 11.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.599e-05/0.4925, allocations: 11.98 kB / 0.6069 GB, free: 11.54 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001307/0.4938, allocations: 0.7736 MB / 0.6076 GB, free: 10.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4939, allocations: 12.03 kB / 0.6077 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.4939, allocations: 46.55 kB / 0.6077 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.4941, allocations: 55.25 kB / 0.6078 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.4949, allocations: 490.9 kB / 0.6082 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4949, allocations: 8 kB / 0.6082 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.495, allocations: 11.91 kB / 0.6082 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.4954, allocations: 171.1 kB / 0.6084 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4954, allocations: 0 / 0.6084 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4954, allocations: 8 kB / 0.6084 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4955, allocations: 0 / 0.6084 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.4958, allocations: 147.8 kB / 0.6086 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.497, allocations: 0.7542 MB / 0.6093 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.4973, allocations: 149.1 kB / 0.6094 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4973, allocations: 8.109 kB / 0.6094 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4973, allocations: 34.56 kB / 0.6095 GB, free: 8.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4974, allocations: 0 / 0.6095 GB, free: 8.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002039/0.4994, allocations: 0.8066 MB / 0.6103 GB, free: 7.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4995, allocations: 85.11 kB / 0.6103 GB, free: 7.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.5004, allocations: 0.8038 MB / 0.6111 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.5004, allocations: 25.7 kB / 0.6111 GB, free: 6.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5006, allocations: 264.3 kB / 0.6114 GB, free: 6.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.5007, allocations: 67.08 kB / 0.6115 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.5007, allocations: 8 kB / 0.6115 GB, free: 6.594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5009, allocations: 370.9 kB / 0.6118 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.5011, allocations: 131.9 kB / 0.612 GB, free: 6.094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.5014, allocations: 150.9 kB / 0.6121 GB, free: 5.941 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.5017, allocations: 131.9 kB / 0.6122 GB, free: 5.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5017, allocations: 0 / 0.6122 GB, free: 5.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006945/0.5024, allocations: 368.7 kB / 0.6126 GB, free: 5.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5025, allocations: 11.98 kB / 0.6126 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5025, allocations: 224 / 0.6126 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5025, allocations: 7.938 kB / 0.6126 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.5028, allocations: 63.89 kB / 0.6127 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5028, allocations: 3.984 kB / 0.6127 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.503, allocations: 39.92 kB / 0.6127 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.503, allocations: 8 kB / 0.6127 GB, free: 5.312 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0002037/0.5032, allocations: 218.2 kB / 0.6129 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.5033, allocations: 59.25 kB / 0.613 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.5042, allocations: 434.2 kB / 0.6134 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5042, allocations: 0 / 0.6134 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5042, allocations: 0 / 0.6134 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5042, allocations: 4 kB / 0.6134 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.5058, allocations: 1.052 MB / 0.6144 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5058, allocations: 4 kB / 0.6144 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.506, allocations: 63.89 kB / 0.6145 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5061, allocations: 0 / 0.6145 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5061, allocations: 11.98 kB / 0.6145 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5061, allocations: 3.953 kB / 0.6145 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5061, allocations: 0 / 0.6145 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.5068, allocations: 0.5488 MB / 0.615 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.5071, allocations: 180.4 kB / 0.6152 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.5072, allocations: 0 / 0.6152 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.5074, allocations: 43.95 kB / 0.6152 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.5075, allocations: 27.86 kB / 0.6153 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.5075, allocations: 7.984 kB / 0.6153 GB, free: 2.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006633/0.5082, allocations: 0.6357 MB / 0.6159 GB, free: 1.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5082, allocations: 0 / 0.6159 GB, free: 1.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.5086, allocations: 87.92 kB / 0.616 GB, free: 1.844 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 (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 Backend phase and start with SimCode phase: time 0.001745/0.5104, allocations: 1.473 MB / 0.6174 GB, free: 0.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.511, allocations: 287.7 kB / 0.6177 GB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.511, allocations: 0 / 0.6177 GB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.5113, allocations: 172.3 kB / 0.6179 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.5118, allocations: 75.69 kB / 0.6179 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.5164, allocations: 3.602 MB / 0.6214 GB, free: 12.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.5169, allocations: 0.8881 MB / 0.6223 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.5172, allocations: 119.1 kB / 0.6224 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.5175, allocations: 183.3 kB / 0.6226 GB, free: 11.11 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5175, allocations: 0 / 0.6226 GB, free: 11.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.5403, allocations: 9.765 MB / 0.6321 GB, free: 1.488 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/0.5407, allocations: 216.1 kB / 0.6323 GB, free: 1.246 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.596, allocations: 0 / 0.6323 GB, free: 1.246 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat