Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4",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.00145/0.00145, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 89.7 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2868/0.2868, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.159e-05, allocations: 0 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3949, allocations: 58.85 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.5583, allocations: 86.5 MB / 0.5505 GB, free: 12.7 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5586, allocations: 75.47 kB / 0.5505 GB, free: 12.63 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02951/0.5882, allocations: 7.755 MB / 0.5581 GB, free: 4.863 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5882, allocations: 0 / 0.5581 GB, free: 4.863 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.186e-05/0.5883, allocations: 16 kB / 0.5581 GB, free: 4.848 MB / 395.1 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.0007614/0.589, allocations: 0.5448 MB / 0.5587 GB, free: 4.258 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5891, allocations: 12.03 kB / 0.5587 GB, free: 4.246 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.5892, allocations: 43.39 kB / 0.5587 GB, free: 4.203 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.5899, allocations: 331.2 kB / 0.559 GB, free: 3.84 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.59, allocations: 4 kB / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.59, allocations: 4 kB / 0.559 GB, free: 3.832 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001111/0.5901, allocations: 19.98 kB / 0.5591 GB, free: 3.812 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.5902, allocations: 45.69 kB / 0.5591 GB, free: 3.762 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5903, allocations: 7.938 kB / 0.5591 GB, free: 3.754 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5903, allocations: 3.984 kB / 0.5591 GB, free: 3.75 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5903, allocations: 3.953 kB / 0.5591 GB, free: 3.746 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008701/0.5912, allocations: 417.3 kB / 0.5595 GB, free: 3.301 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.5914, allocations: 42.5 kB / 0.5596 GB, free: 3.25 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.5915, allocations: 12.86 kB / 0.5596 GB, free: 3.234 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5915, allocations: 4 kB / 0.5596 GB, free: 3.23 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.5915, allocations: 30.56 kB / 0.5596 GB, free: 3.191 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.195e-06/0.5916, allocations: 0 / 0.5596 GB, free: 3.191 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000608/0.5922, allocations: 196.1 kB / 0.5598 GB, free: 2.992 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.5922, allocations: 55.41 kB / 0.5598 GB, free: 2.926 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.5941, allocations: 0.7589 MB / 0.5606 GB, free: 2.156 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.5941, allocations: 25.7 kB / 0.5606 GB, free: 2.125 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.5943, allocations: 234.5 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.5944, allocations: 11.81 kB / 0.5608 GB, free: 1.883 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.5944, allocations: 0 / 0.5608 GB, free: 1.883 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5945, allocations: 314.8 kB / 0.5611 GB, free: 1.566 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.5946, allocations: 12 kB / 0.5611 GB, free: 1.555 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.5946, allocations: 15.98 kB / 0.5612 GB, free: 1.539 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/0.5947, allocations: 16 kB / 0.5612 GB, free: 1.523 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5948, allocations: 0 / 0.5612 GB, free: 1.523 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001674/0.5949, allocations: 65.81 kB / 0.5612 GB, free: 1.453 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.595, allocations: 4 kB / 0.5612 GB, free: 1.449 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.595, allocations: 0 / 0.5612 GB, free: 1.449 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.595, allocations: 3.953 kB / 0.5612 GB, free: 1.445 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.5952, allocations: 15.98 kB / 0.5613 GB, free: 1.43 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5952, allocations: 0 / 0.5613 GB, free: 1.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.5953, allocations: 16.14 kB / 0.5613 GB, free: 1.414 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.5954, allocations: 0 / 0.5613 GB, free: 1.414 MB / 395.1 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 () * 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.258e-05/0.5954, allocations: 105 kB / 0.5614 GB, free: 1.305 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002427/0.5957, allocations: 105.1 kB / 0.5615 GB, free: 1.195 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5958, allocations: 47.39 kB / 0.5615 GB, free: 1.148 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.5961, allocations: 113.4 kB / 0.5616 GB, free: 1.027 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5962, allocations: 0 / 0.5616 GB, free: 1.027 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5962, allocations: 0 / 0.5616 GB, free: 1.027 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5962, allocations: 4 kB / 0.5616 GB, free: 1.023 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5973, allocations: 0.5535 MB / 0.5622 GB, free: 436 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5973, allocations: 3.953 kB / 0.5622 GB, free: 432 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.5974, allocations: 15.98 kB / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5975, allocations: 0 / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.5975, allocations: 0 / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5975, allocations: 0 / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5975, allocations: 0 / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.5978, allocations: 207.2 kB / 0.5624 GB, free: 192 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.5981, allocations: 160.6 kB / 0.5625 GB, free: 12 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.5982, allocations: 3.984 kB / 0.5626 GB, free: 8 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.5984, allocations: 11.98 kB / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.5985, allocations: 0 / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.5985, allocations: 7.938 kB / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.5995, allocations: 0.6082 MB / 0.5632 GB, free: 15.38 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5996, allocations: 4 kB / 0.5632 GB, free: 15.38 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.6, allocations: 63.83 kB / 0.5632 GB, free: 15.32 MB / 411.1 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 () * 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.001518/0.6016, allocations: 0.9609 MB / 0.5642 GB, free: 14.38 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.6017, allocations: 31.94 kB / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6018, allocations: 0 / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.6018, allocations: 19.98 kB / 0.5642 GB, free: 14.32 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.6022, allocations: 33.33 kB / 0.5642 GB, free: 14.29 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.6044, allocations: 0.8737 MB / 0.5651 GB, free: 13.38 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.605, allocations: 0.8302 MB / 0.5659 GB, free: 12.52 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.6053, allocations: 119.4 kB / 0.566 GB, free: 12.4 MB / 411.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6053, allocations: 4 kB / 0.566 GB, free: 12.4 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.001/3.606, allocations: 7.272 MB / 0.5731 GB, free: 5.113 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat