Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5",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.002152/0.002152, allocations: 179.4 kB / 8.364 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 2.268/2.268, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001204/0.001204, allocations: 90.48 kB / 262.1 MB, free: 13.89 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.3268/0.3268, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.073e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4279, allocations: 58.85 MB / 477.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.6203, allocations: 86.51 MB / 0.5505 GB, free: 12.79 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/0.6207, allocations: 71.95 kB / 0.5505 GB, free: 12.72 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03135/0.6521, allocations: 7.747 MB / 0.5581 GB, free: 4.957 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6521, allocations: 0 / 0.5581 GB, free: 4.957 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.267e-05/0.6522, allocations: 8 kB / 0.5581 GB, free: 4.949 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.001074/0.6533, allocations: 0.5487 MB / 0.5587 GB, free: 4.355 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.127e-05/0.6534, allocations: 8.031 kB / 0.5587 GB, free: 4.348 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.6535, allocations: 55.38 kB / 0.5587 GB, free: 4.293 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.6544, allocations: 331.3 kB / 0.559 GB, free: 3.93 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.6544, allocations: 0 / 0.559 GB, free: 3.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.6545, allocations: 4 kB / 0.559 GB, free: 3.926 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/0.6546, allocations: 16 kB / 0.559 GB, free: 3.91 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.6548, allocations: 45.69 kB / 0.5591 GB, free: 3.859 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6548, allocations: 3.938 kB / 0.5591 GB, free: 3.855 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.6548, allocations: 0 / 0.5591 GB, free: 3.855 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6549, allocations: 7.938 kB / 0.5591 GB, free: 3.848 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009595/0.6558, allocations: 421.3 kB / 0.5595 GB, free: 3.398 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.6561, allocations: 38.56 kB / 0.5595 GB, free: 3.352 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.6561, allocations: 12.86 kB / 0.5596 GB, free: 3.336 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.6562, allocations: 0 / 0.5596 GB, free: 3.336 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.6562, allocations: 38.5 kB / 0.5596 GB, free: 3.289 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/0.6562, allocations: 3.938 kB / 0.5596 GB, free: 3.285 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006947/0.6569, allocations: 188.1 kB / 0.5598 GB, free: 3.094 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.657, allocations: 55.41 kB / 0.5598 GB, free: 3.027 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.6589, allocations: 0.755 MB / 0.5606 GB, free: 2.262 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.6589, allocations: 25.7 kB / 0.5606 GB, free: 2.23 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.6592, allocations: 234.5 kB / 0.5608 GB, free: 2 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.6592, allocations: 15.8 kB / 0.5608 GB, free: 1.984 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.6592, allocations: 0 / 0.5608 GB, free: 1.984 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6594, allocations: 318.8 kB / 0.5611 GB, free: 1.664 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.6594, allocations: 11.94 kB / 0.5611 GB, free: 1.652 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.6595, allocations: 12 kB / 0.5612 GB, free: 1.641 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.6596, allocations: 15.98 kB / 0.5612 GB, free: 1.625 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6596, allocations: 0 / 0.5612 GB, free: 1.625 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.6598, allocations: 57.69 kB / 0.5612 GB, free: 1.562 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6598, allocations: 4 kB / 0.5612 GB, free: 1.559 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6598, allocations: 0 / 0.5612 GB, free: 1.559 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.6599, allocations: 11.95 kB / 0.5612 GB, free: 1.547 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.66, allocations: 12.23 kB / 0.5613 GB, free: 1.535 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.66, allocations: 7.984 kB / 0.5613 GB, free: 1.527 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.6602, allocations: 8.156 kB / 0.5613 GB, free: 1.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.6602, allocations: 0 / 0.5613 GB, free: 1.52 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 9.498e-05/0.6603, allocations: 113 kB / 0.5614 GB, free: 1.402 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002442/0.6606, allocations: 101.1 kB / 0.5615 GB, free: 1.297 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.6607, allocations: 51.39 kB / 0.5615 GB, free: 1.246 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.6611, allocations: 113.4 kB / 0.5616 GB, free: 1.125 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6611, allocations: 4 kB / 0.5616 GB, free: 1.121 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6611, allocations: 0 / 0.5616 GB, free: 1.121 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6611, allocations: 0 / 0.5616 GB, free: 1.121 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.6623, allocations: 0.5497 MB / 0.5622 GB, free: 0.5273 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6623, allocations: 3.953 kB / 0.5622 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.6625, allocations: 23.98 kB / 0.5622 GB, free: 0.5 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6625, allocations: 0 / 0.5622 GB, free: 0.5 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.6625, allocations: 0 / 0.5622 GB, free: 0.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.6625, allocations: 0 / 0.5622 GB, free: 0.5 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6625, allocations: 0 / 0.5622 GB, free: 0.5 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.6629, allocations: 202.9 kB / 0.5624 GB, free: 292 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.6632, allocations: 160.6 kB / 0.5625 GB, free: 112 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.6633, allocations: 4 kB / 0.5625 GB, free: 108 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.6634, allocations: 12.23 kB / 0.5626 GB, free: 96 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.6635, allocations: 4 kB / 0.5626 GB, free: 92 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.6635, allocations: 4 kB / 0.5626 GB, free: 88 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.6647, allocations: 0.6082 MB / 0.5632 GB, free: 15.48 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6647, allocations: 3.938 kB / 0.5632 GB, free: 15.48 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000493/0.6652, allocations: 63.83 kB / 0.5632 GB, free: 15.41 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.001693/0.6669, allocations: 0.9659 MB / 0.5642 GB, free: 14.47 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.6671, allocations: 31.94 kB / 0.5642 GB, free: 14.44 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6671, allocations: 0 / 0.5642 GB, free: 14.44 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.6672, allocations: 19.98 kB / 0.5642 GB, free: 14.42 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.6676, allocations: 29.64 kB / 0.5642 GB, free: 14.39 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.6698, allocations: 0.8698 MB / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.6705, allocations: 0.8341 MB / 0.5659 GB, free: 12.62 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.6708, allocations: 119.3 kB / 0.566 GB, free: 12.5 MB / 411.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6708, allocations: 4 kB / 0.566 GB, free: 12.5 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.861/3.532, allocations: 7.272 MB / 0.5731 GB, free: 5.211 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat