Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",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.002382/0.002382, 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.089/2.089, 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.001163/0.001163, allocations: 100.6 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.3445/0.3445, allocations: 43.48 MB / 353.5 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.479e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4583, allocations: 58.85 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.6362, allocations: 87.61 MB / 0.5516 GB, free: 11.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.6366, allocations: 71.47 kB / 0.5516 GB, free: 11.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04247/0.6791, allocations: 8.943 MB / 0.5604 GB, free: 2.566 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6792, allocations: 0 / 0.5604 GB, free: 2.566 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.349e-05/0.6792, allocations: 19.92 kB / 0.5604 GB, free: 2.547 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001403/0.6807, allocations: 0.6517 MB / 0.561 GB, free: 1.852 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.6807, allocations: 8.031 kB / 0.561 GB, free: 1.844 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.681, allocations: 59.25 kB / 0.5611 GB, free: 1.785 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.6823, allocations: 482.9 kB / 0.5615 GB, free: 1.273 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.6824, allocations: 4 kB / 0.5615 GB, free: 1.27 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.6825, allocations: 11.91 kB / 0.5616 GB, free: 1.258 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003195/0.6828, allocations: 75.97 kB / 0.5616 GB, free: 1.184 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.6832, allocations: 135.1 kB / 0.5618 GB, free: 1.039 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.6832, allocations: 0 / 0.5618 GB, free: 1.039 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.6832, allocations: 7.891 kB / 0.5618 GB, free: 1.031 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.6832, allocations: 4 kB / 0.5618 GB, free: 1.027 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.6853, allocations: 0.7274 MB / 0.5625 GB, free: 264 kB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.6857, allocations: 113.2 kB / 0.5626 GB, free: 132 kB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.6858, allocations: 49.78 kB / 0.5626 GB, free: 76 kB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.6859, allocations: 8 kB / 0.5626 GB, free: 68 kB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.6859, allocations: 34.55 kB / 0.5627 GB, free: 24 kB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.915e-06/0.686, allocations: 0 / 0.5627 GB, free: 24 kB / 395.1 MB Notification: Performance of matching and sorting (n=20): time 0.002617/0.6886, allocations: 0.5759 MB / 0.5632 GB, free: 15.44 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.6887, allocations: 81.11 kB / 0.5633 GB, free: 15.34 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.6905, allocations: 0.7649 MB / 0.5641 GB, free: 14.57 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 7.769e-05/0.6906, allocations: 25.7 kB / 0.5641 GB, free: 14.54 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.6909, allocations: 270.8 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.691, allocations: 63.02 kB / 0.5644 GB, free: 14.21 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.6911, allocations: 4 kB / 0.5644 GB, free: 14.21 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6912, allocations: 318.8 kB / 0.5647 GB, free: 13.89 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.6915, allocations: 75.97 kB / 0.5648 GB, free: 13.81 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.6917, allocations: 85.69 kB / 0.5649 GB, free: 13.72 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.692, allocations: 83.89 kB / 0.5649 GB, free: 13.64 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.692, allocations: 0 / 0.5649 GB, free: 13.64 MB / 411.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006351/0.6927, allocations: 209.6 kB / 0.5651 GB, free: 13.43 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.6927, allocations: 8 kB / 0.5651 GB, free: 13.42 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6927, allocations: 4 kB / 0.5652 GB, free: 13.42 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.6928, allocations: 0 / 0.5652 GB, free: 13.42 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.6934, allocations: 71.83 kB / 0.5652 GB, free: 13.35 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6934, allocations: 0 / 0.5652 GB, free: 13.35 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.6939, allocations: 27.98 kB / 0.5652 GB, free: 13.32 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.6939, allocations: 7.984 kB / 0.5653 GB, free: 13.31 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001352/0.6941, allocations: 109.1 kB / 0.5654 GB, free: 13.2 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008951/0.695, allocations: 264.7 kB / 0.5656 GB, free: 12.93 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.6952, allocations: 63.19 kB / 0.5657 GB, free: 12.87 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.6963, allocations: 310.3 kB / 0.566 GB, free: 12.56 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6963, allocations: 4 kB / 0.566 GB, free: 12.55 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.6964, allocations: 7.938 kB / 0.566 GB, free: 12.55 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6964, allocations: 0.5625 kB / 0.566 GB, free: 12.55 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.6989, allocations: 0.9117 MB / 0.5669 GB, free: 11.59 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.699, allocations: 0 / 0.5669 GB, free: 11.59 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.6995, allocations: 59.95 kB / 0.5669 GB, free: 11.53 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.6996, allocations: 7.984 kB / 0.5669 GB, free: 11.52 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.6996, allocations: 0 / 0.5669 GB, free: 11.52 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6996, allocations: 4 kB / 0.5669 GB, free: 11.52 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.6997, allocations: 3.938 kB / 0.5669 GB, free: 11.52 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009597/0.7006, allocations: 451.6 kB / 0.5674 GB, free: 11.05 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.7011, allocations: 188.3 kB / 0.5676 GB, free: 10.85 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7012, allocations: 0 / 0.5676 GB, free: 10.85 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.7017, allocations: 31.97 kB / 0.5676 GB, free: 10.82 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.7019, allocations: 15.97 kB / 0.5676 GB, free: 10.8 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.7019, allocations: 12 kB / 0.5676 GB, free: 10.79 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.7033, allocations: 0.6045 MB / 0.5682 GB, free: 10.2 MB / 411.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7033, allocations: 0 / 0.5682 GB, free: 10.2 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007659/0.7041, allocations: 75.94 kB / 0.5683 GB, free: 10.12 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.002342/0.7065, allocations: 1.286 MB / 0.5695 GB, free: 8.848 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.7072, allocations: 183.9 kB / 0.5697 GB, free: 8.668 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7072, allocations: 0 / 0.5697 GB, free: 8.668 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.7075, allocations: 107.9 kB / 0.5698 GB, free: 8.562 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.7084, allocations: 65.55 kB / 0.5699 GB, free: 8.5 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.7115, allocations: 0.957 MB / 0.5708 GB, free: 7.492 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008207/0.7123, allocations: 0.8964 MB / 0.5717 GB, free: 6.566 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/0.713, allocations: 191.3 kB / 0.5719 GB, free: 6.379 MB / 411.1 MB Notification: Performance of SimCode: time 1.182e-06/0.713, allocations: 0 / 0.5719 GB, free: 6.379 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.817/3.53, allocations: 8.922 MB / 0.5806 GB, free: 13.45 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat