Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26",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.001492/0.001492, 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 2.399/2.399, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001663/0.001663, allocations: 99.3 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.3038/0.3038, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.476e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4133, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5774, allocations: 86.09 MB / 0.5501 GB, free: 13.11 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.5777, allocations: 71.47 kB / 0.5501 GB, free: 13.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01819/0.5959, allocations: 4.131 MB / 0.5542 GB, free: 8.914 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.596, allocations: 0 / 0.5542 GB, free: 8.914 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.596, allocations: 0 / 0.5542 GB, free: 8.914 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.0006017/0.5966, allocations: 407.2 kB / 0.5546 GB, free: 8.473 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.5967, allocations: 8.031 kB / 0.5546 GB, free: 8.465 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.5967, allocations: 11.86 kB / 0.5546 GB, free: 8.453 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.5971, allocations: 202.8 kB / 0.5548 GB, free: 8.215 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5971, allocations: 0 / 0.5548 GB, free: 8.215 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.5971, allocations: 7.984 kB / 0.5548 GB, free: 8.207 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.707e-05/0.5973, allocations: 16 kB / 0.5548 GB, free: 8.191 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.5974, allocations: 45.62 kB / 0.5548 GB, free: 8.141 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5974, allocations: 8 kB / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5974, allocations: 0 / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5975, allocations: 0 / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.5979, allocations: 273.3 kB / 0.5551 GB, free: 7.828 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.5981, allocations: 34.58 kB / 0.5551 GB, free: 7.785 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.5981, allocations: 16.94 kB / 0.5552 GB, free: 7.766 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.5982, allocations: 8 kB / 0.5552 GB, free: 7.758 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5982, allocations: 30.56 kB / 0.5552 GB, free: 7.719 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/0.5982, allocations: 3.938 kB / 0.5552 GB, free: 7.715 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006724/0.5989, allocations: 133.2 kB / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.599, allocations: 51.41 kB / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.5993, allocations: 165.3 kB / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.5993, allocations: 33.69 kB / 0.5556 GB, free: 7.309 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.5994, allocations: 162.5 kB / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.5994, allocations: 19.72 kB / 0.5557 GB, free: 7.129 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.5995, allocations: 0 / 0.5557 GB, free: 7.129 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5996, allocations: 314.8 kB / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.5997, allocations: 23.92 kB / 0.5561 GB, free: 6.789 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.5997, allocations: 12 kB / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.569e-05/0.5998, allocations: 12 kB / 0.5561 GB, free: 6.766 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5998, allocations: 4 kB / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001895/0.6, allocations: 69.75 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6001, allocations: 4 kB / 0.5562 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6001, allocations: 0 / 0.5562 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.6001, allocations: 0 / 0.5562 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.6003, allocations: 23.98 kB / 0.5562 GB, free: 6.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6004, allocations: 3.953 kB / 0.5562 GB, free: 6.656 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.6005, allocations: 19.98 kB / 0.5562 GB, free: 6.637 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.6005, allocations: 0 / 0.5562 GB, free: 6.637 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 (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 9.739e-05/0.6006, allocations: 104.9 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002/0.6008, allocations: 77.5 kB / 0.5564 GB, free: 6.445 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.6009, allocations: 7.906 kB / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.6012, allocations: 94.56 kB / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.6012, allocations: 0 / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6012, allocations: 4 kB / 0.5565 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6012, allocations: 4 kB / 0.5565 GB, free: 6.332 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.6018, allocations: 339 kB / 0.5568 GB, free: 5.957 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6018, allocations: 0 / 0.5568 GB, free: 5.957 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.602, allocations: 19.98 kB / 0.5568 GB, free: 5.938 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.602, allocations: 7.953 kB / 0.5568 GB, free: 5.93 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6021, allocations: 0 / 0.5568 GB, free: 5.93 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6021, allocations: 0 / 0.5568 GB, free: 5.93 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6021, allocations: 4 kB / 0.5568 GB, free: 5.926 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.6024, allocations: 175.3 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.6025, allocations: 93 kB / 0.5571 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.6025, allocations: 7.953 kB / 0.5571 GB, free: 5.621 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.6027, allocations: 15.92 kB / 0.5571 GB, free: 5.605 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.6028, allocations: 7.984 kB / 0.5571 GB, free: 5.598 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.6028, allocations: 8 kB / 0.5571 GB, free: 5.59 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.603, allocations: 136.1 kB / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.603, allocations: 0 / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.6034, allocations: 27.94 kB / 0.5573 GB, free: 5.43 MB / 395.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 (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.001682/0.6051, allocations: 0.923 MB / 0.5582 GB, free: 4.523 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.6054, allocations: 36 kB / 0.5582 GB, free: 4.488 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6054, allocations: 0 / 0.5582 GB, free: 4.488 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.6055, allocations: 27.94 kB / 0.5582 GB, free: 4.461 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.6063, allocations: 23.98 kB / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.6076, allocations: 227.5 kB / 0.5585 GB, free: 4.172 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.6081, allocations: 0.7079 MB / 0.5592 GB, free: 3.438 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6082, allocations: 35.36 kB / 0.5592 GB, free: 3.402 MB / 395.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6083, allocations: 4 kB / 0.5592 GB, free: 3.398 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.711/3.32, allocations: 2.186 MB / 0.5613 GB, free: 1.219 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat does not exist to compare? outputFormat=mat