Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.0009503/0.0009503, allocations: 176.5 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.315/1.315, 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.0008402/0.0008402, allocations: 91.48 kB / 292.1 MB, free: 10.93 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.3591/0.3591, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003161, allocations: 12 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3567, allocations: 61.91 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4788, allocations: 88.59 MB / 0.5962 GB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.479, allocations: 75.89 kB / 0.5962 GB, free: 6.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01056/0.4896, allocations: 4.057 MB / 0.6002 GB, free: 2.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4896, allocations: 0 / 0.6002 GB, free: 2.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4896, allocations: 0 / 0.6002 GB, free: 2.383 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.0005709/0.4902, allocations: 442.8 kB / 0.6006 GB, free: 1.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4903, allocations: 8.031 kB / 0.6006 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.4903, allocations: 30.56 kB / 0.6007 GB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.4904, allocations: 7.906 kB / 0.6007 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.4906, allocations: 200.3 kB / 0.6008 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.4906, allocations: 0 / 0.6008 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.4906, allocations: 4 kB / 0.6009 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.4909, allocations: 107.3 kB / 0.601 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4909, allocations: 0 / 0.601 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4909, allocations: 0 / 0.601 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.491, allocations: 0 / 0.601 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.4913, allocations: 95.91 kB / 0.601 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.4917, allocations: 320.6 kB / 0.6014 GB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.4919, allocations: 82.53 kB / 0.6014 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.492, allocations: 4 kB / 0.6014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.492, allocations: 30.56 kB / 0.6015 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.492, allocations: 0 / 0.6015 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001611/0.4936, allocations: 477 kB / 0.6019 GB, free: 440 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.4937, allocations: 85.06 kB / 0.602 GB, free: 336 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4938, allocations: 142.5 kB / 0.6021 GB, free: 188 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4939, allocations: 29.7 kB / 0.6022 GB, free: 152 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.4939, allocations: 104.2 kB / 0.6023 GB, free: 44 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.494, allocations: 31.55 kB / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.494, allocations: 0 / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4941, allocations: 318.9 kB / 0.6026 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.4944, allocations: 91.88 kB / 0.6027 GB, free: 15.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.4947, allocations: 109.6 kB / 0.6028 GB, free: 15.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.495, allocations: 95.97 kB / 0.6029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4951, allocations: 0 / 0.6029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006377/0.4957, allocations: 237.4 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4957, allocations: 5.406 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4957, allocations: 384 / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4958, allocations: 4 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.496, allocations: 51.89 kB / 0.6032 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.496, allocations: 4 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.4962, allocations: 39.92 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4962, allocations: 4 kB / 0.6032 GB, free: 15.05 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 (10): * Single equations (assignments): 10 * 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.0001136/0.4963, allocations: 118.4 kB / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.4964, allocations: 12.28 kB / 0.6033 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.4971, allocations: 246.1 kB / 0.6036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4971, allocations: 7.984 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4971, allocations: 0 / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4971, allocations: 0 / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.4981, allocations: 0.5334 MB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4981, allocations: 0 / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.4983, allocations: 55.89 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4983, allocations: 0 / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4983, allocations: 0 / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4983, allocations: 3.953 kB / 0.6042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4983, allocations: 4 kB / 0.6042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.499, allocations: 327.2 kB / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.499, allocations: 85 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.4991, allocations: 8 kB / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4993, allocations: 35.97 kB / 0.6046 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.4993, allocations: 15.92 kB / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4994, allocations: 3.938 kB / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4995, allocations: 118.4 kB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4995, allocations: 4 kB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.4998, allocations: 36 kB / 0.6048 GB, free: 13.36 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 (9): * Single equations (assignments): 9 * 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.002052/0.5018, allocations: 1.214 MB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.5025, allocations: 203.8 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5025, allocations: 0 / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.5028, allocations: 103.9 kB / 0.6062 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5031, allocations: 25.7 kB / 0.6063 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.5039, allocations: 455.4 kB / 0.6067 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.5042, allocations: 0.7004 MB / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.99e-05/0.5043, allocations: 20.41 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.5044, allocations: 35.42 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5044, allocations: 3.938 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.5198, allocations: 3.077 MB / 0.6104 GB, free: 7.754 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.5201, allocations: 225 kB / 0.6107 GB, free: 7.516 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.15, allocations: 0 / 0.6107 GB, free: 7.516 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat does not exist to compare? outputFormat=mat