Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.00235/0.00235, allocations: 180.1 kB / 8.365 MB, free: 0.7109 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.258/2.258, 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.001134/0.001134, allocations: 88.61 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.3029/0.3029, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.65e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.426, allocations: 58.86 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.651, allocations: 86.12 MB / 0.5501 GB, free: 13.11 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/0.6514, allocations: 71.97 kB / 0.5502 GB, free: 13.04 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04247/0.6939, allocations: 7.636 MB / 0.5576 GB, free: 5.383 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.694, allocations: 0 / 0.5576 GB, free: 5.383 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.343e-05/0.694, allocations: 4 kB / 0.5576 GB, free: 5.379 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.001056/0.6951, allocations: 0.5604 MB / 0.5582 GB, free: 4.773 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.6952, allocations: 8.031 kB / 0.5582 GB, free: 4.766 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.6954, allocations: 47.39 kB / 0.5582 GB, free: 4.719 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009662/0.6964, allocations: 319.4 kB / 0.5585 GB, free: 4.367 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.6964, allocations: 4 kB / 0.5585 GB, free: 4.363 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.6965, allocations: 0 / 0.5585 GB, free: 4.363 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001158/0.6966, allocations: 12 kB / 0.5585 GB, free: 4.352 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.6967, allocations: 45.62 kB / 0.5586 GB, free: 4.301 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.6968, allocations: 4 kB / 0.5586 GB, free: 4.297 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.6968, allocations: 0 / 0.5586 GB, free: 4.297 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.6968, allocations: 7.891 kB / 0.5586 GB, free: 4.289 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.698, allocations: 417.3 kB / 0.559 GB, free: 3.844 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.6983, allocations: 34.52 kB / 0.559 GB, free: 3.801 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.6984, allocations: 8.859 kB / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.6984, allocations: 0 / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.6985, allocations: 34.56 kB / 0.5591 GB, free: 3.746 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.564e-06/0.6985, allocations: 0 / 0.5591 GB, free: 3.746 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000788/0.6993, allocations: 188.1 kB / 0.5593 GB, free: 3.555 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.6994, allocations: 59.34 kB / 0.5593 GB, free: 3.484 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.7013, allocations: 0.7473 MB / 0.56 GB, free: 2.73 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.7014, allocations: 25.7 kB / 0.5601 GB, free: 2.699 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.7016, allocations: 234.5 kB / 0.5603 GB, free: 2.469 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.7017, allocations: 15.73 kB / 0.5603 GB, free: 2.453 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.7017, allocations: 0 / 0.5603 GB, free: 2.453 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7019, allocations: 318.8 kB / 0.5606 GB, free: 2.133 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.7019, allocations: 8 kB / 0.5606 GB, free: 2.125 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.702, allocations: 8 kB / 0.5606 GB, free: 2.117 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.471e-05/0.702, allocations: 11.94 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.702, allocations: 0 / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.7022, allocations: 57.69 kB / 0.5607 GB, free: 2.043 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7023, allocations: 4 kB / 0.5607 GB, free: 2.039 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7023, allocations: 0 / 0.5607 GB, free: 2.039 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.7023, allocations: 3.953 kB / 0.5607 GB, free: 2.035 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.7025, allocations: 19.98 kB / 0.5607 GB, free: 2.016 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7025, allocations: 3.938 kB / 0.5607 GB, free: 2.012 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.7026, allocations: 8.406 kB / 0.5607 GB, free: 2.004 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.7027, allocations: 3.984 kB / 0.5607 GB, free: 2 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.627e-05/0.7028, allocations: 101 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002524/0.703, allocations: 97.14 kB / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.7032, allocations: 43.62 kB / 0.561 GB, free: 1.75 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.7035, allocations: 125.2 kB / 0.5611 GB, free: 1.617 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7035, allocations: 4 kB / 0.5611 GB, free: 1.613 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7035, allocations: 0 / 0.5611 GB, free: 1.613 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7035, allocations: 3.984 kB / 0.5611 GB, free: 1.609 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7046, allocations: 0.5302 MB / 0.5616 GB, free: 1.035 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7047, allocations: 3.953 kB / 0.5616 GB, free: 1.031 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.7048, allocations: 12 kB / 0.5616 GB, free: 1.02 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7048, allocations: 3.984 kB / 0.5616 GB, free: 1.016 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7048, allocations: 4 kB / 0.5616 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7049, allocations: 0 / 0.5616 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7049, allocations: 0 / 0.5616 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.7051, allocations: 191 kB / 0.5618 GB, free: 0.8086 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.7055, allocations: 172.4 kB / 0.562 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.7055, allocations: 4 kB / 0.562 GB, free: 0.6172 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.7057, allocations: 4 kB / 0.562 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.7058, allocations: 7.984 kB / 0.562 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.7058, allocations: 4.25 kB / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.7069, allocations: 0.6083 MB / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7069, allocations: 0 / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004564/0.7074, allocations: 55.94 kB / 0.5626 GB, free: 15.94 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.001506/0.7089, allocations: 0.9644 MB / 0.5636 GB, free: 14.99 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.7091, allocations: 24 kB / 0.5636 GB, free: 14.97 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7091, allocations: 0 / 0.5636 GB, free: 14.97 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.7092, allocations: 19.88 kB / 0.5636 GB, free: 14.95 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.7096, allocations: 37.3 kB / 0.5637 GB, free: 14.92 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.7118, allocations: 0.8504 MB / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.7125, allocations: 0.8379 MB / 0.5653 GB, free: 13.16 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.7128, allocations: 107.4 kB / 0.5654 GB, free: 13.05 MB / 411.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7128, allocations: 0 / 0.5654 GB, free: 13.05 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.185/3.898, allocations: 7.197 MB / 0.5724 GB, free: 5.848 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat