Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008328/0.0008327, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2079/0.2079, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002798, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1032, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.4353, allocations: 86.84 MB / 0.5637 GB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4356, allocations: 77.59 kB / 0.5637 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.446, allocations: 4.331 MB / 0.568 GB, free: 8.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.446, allocations: 0 / 0.568 GB, free: 8.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.446, allocations: 0 / 0.568 GB, free: 8.719 MB / 378.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.0004164/0.4465, allocations: 434.1 kB / 0.5684 GB, free: 8.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4465, allocations: 12.03 kB / 0.5684 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.4466, allocations: 30.56 kB / 0.5684 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.4466, allocations: 15.77 kB / 0.5684 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.4468, allocations: 211 kB / 0.5686 GB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.4468, allocations: 4 kB / 0.5686 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.4468, allocations: 0 / 0.5686 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.447, allocations: 72.72 kB / 0.5687 GB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.447, allocations: 0 / 0.5687 GB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.447, allocations: 0 / 0.5687 GB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.447, allocations: 0 / 0.5687 GB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.4472, allocations: 43.09 kB / 0.5687 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.4475, allocations: 302.2 kB / 0.569 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.4477, allocations: 50.05 kB / 0.5691 GB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.4477, allocations: 0 / 0.5691 GB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4477, allocations: 30.56 kB / 0.5691 GB, free: 7.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.4477, allocations: 4 kB / 0.5691 GB, free: 7.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006966/0.4484, allocations: 249.7 kB / 0.5694 GB, free: 7.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.4485, allocations: 59.39 kB / 0.5694 GB, free: 7.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4487, allocations: 187.3 kB / 0.5696 GB, free: 6.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4487, allocations: 29.7 kB / 0.5696 GB, free: 6.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.4487, allocations: 106 kB / 0.5697 GB, free: 6.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.4488, allocations: 27.16 kB / 0.5697 GB, free: 6.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.4488, allocations: 0 / 0.5697 GB, free: 6.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4489, allocations: 326.1 kB / 0.5701 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.449, allocations: 39.66 kB / 0.5701 GB, free: 6.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.4491, allocations: 42.78 kB / 0.5701 GB, free: 6.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4492, allocations: 39.3 kB / 0.5702 GB, free: 6.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4492, allocations: 0 / 0.5702 GB, free: 6.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002598/0.4495, allocations: 135.4 kB / 0.5703 GB, free: 6.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4495, allocations: 18.59 kB / 0.5703 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4495, allocations: 0 / 0.5703 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4496, allocations: 3.953 kB / 0.5703 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.4497, allocations: 19.98 kB / 0.5703 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4497, allocations: 11.92 kB / 0.5703 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.4497, allocations: 8 kB / 0.5704 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.4498, allocations: 8 kB / 0.5704 GB, free: 6.191 MB / 378.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 (7): * Single equations (assignments): 7 * 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.297e-05/0.4498, allocations: 128.4 kB / 0.5705 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.4499, allocations: 15.91 kB / 0.5705 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.4502, allocations: 147.5 kB / 0.5706 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4502, allocations: 3.953 kB / 0.5706 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4502, allocations: 0 / 0.5706 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4502, allocations: 7.984 kB / 0.5707 GB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.4508, allocations: 417.6 kB / 0.5711 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4508, allocations: 0 / 0.5711 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.4509, allocations: 23.92 kB / 0.5711 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4509, allocations: 3.953 kB / 0.5711 GB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4509, allocations: 11.56 kB / 0.5711 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4509, allocations: 0 / 0.5711 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4509, allocations: 0 / 0.5711 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.4512, allocations: 229.5 kB / 0.5713 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.4513, allocations: 92.7 kB / 0.5714 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4513, allocations: 3.953 kB / 0.5714 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.4514, allocations: 19.55 kB / 0.5714 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.4514, allocations: 8.266 kB / 0.5714 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.4514, allocations: 4 kB / 0.5714 GB, free: 5.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4516, allocations: 154.9 kB / 0.5716 GB, free: 4.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4516, allocations: 0 / 0.5716 GB, free: 4.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.4518, allocations: 31.55 kB / 0.5716 GB, free: 4.918 MB / 378.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 (7): * Single equations (assignments): 7 * 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.001327/0.4531, allocations: 1.063 MB / 0.5726 GB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.4534, allocations: 98.94 kB / 0.5727 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4535, allocations: 0 / 0.5727 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4536, allocations: 50.94 kB / 0.5728 GB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.4538, allocations: 18.17 kB / 0.5728 GB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.455, allocations: 0.7992 MB / 0.5736 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4553, allocations: 0.7117 MB / 0.5743 GB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.4554, allocations: 15.98 kB / 0.5743 GB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.4554, allocations: 33.05 kB / 0.5743 GB, free: 2.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4554, allocations: 0 / 0.5743 GB, free: 2.223 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.4681, allocations: 2.63 MB / 0.5769 GB, free: 15.62 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.4683, allocations: 219.5 kB / 0.5771 GB, free: 15.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.04, allocations: 0 / 0.5771 GB, free: 15.37 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat does not exist to compare? outputFormat=mat