Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002299/0.002298, allocations: 180 kB / 8.363 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.129/2.129, 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.001123/0.001123, allocations: 85.94 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.2943/0.2943, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.607e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4198, allocations: 58.86 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2214/0.6413, allocations: 86.48 MB / 0.5504 GB, free: 12.73 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.6417, allocations: 79.94 kB / 0.5505 GB, free: 12.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04372/0.6855, allocations: 8.073 MB / 0.5584 GB, free: 4.559 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6855, allocations: 4 kB / 0.5584 GB, free: 4.555 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.872e-05/0.6856, allocations: 4 kB / 0.5584 GB, free: 4.551 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.001085/0.6867, allocations: 0.5609 MB / 0.559 GB, free: 3.945 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.6868, allocations: 8.031 kB / 0.559 GB, free: 3.938 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.687, allocations: 47.39 kB / 0.559 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.688, allocations: 331.8 kB / 0.5593 GB, free: 3.527 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.6881, allocations: 0 / 0.5593 GB, free: 3.527 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.6881, allocations: 4 kB / 0.5593 GB, free: 3.523 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001576/0.6883, allocations: 20 kB / 0.5594 GB, free: 3.504 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.6885, allocations: 45.69 kB / 0.5594 GB, free: 3.453 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.6885, allocations: 3.938 kB / 0.5594 GB, free: 3.449 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.6885, allocations: 4 kB / 0.5594 GB, free: 3.445 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.6886, allocations: 3.953 kB / 0.5594 GB, free: 3.441 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.6899, allocations: 425.3 kB / 0.5598 GB, free: 2.988 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.6901, allocations: 46.55 kB / 0.5599 GB, free: 2.934 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.6902, allocations: 16.86 kB / 0.5599 GB, free: 2.914 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.6902, allocations: 0 / 0.5599 GB, free: 2.914 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.6903, allocations: 30.56 kB / 0.5599 GB, free: 2.875 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.936e-06/0.6903, allocations: 0 / 0.5599 GB, free: 2.875 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.001174/0.6915, allocations: 248 kB / 0.5601 GB, free: 2.625 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.6916, allocations: 51.41 kB / 0.5602 GB, free: 2.562 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.6944, allocations: 0.7551 MB / 0.5609 GB, free: 1.801 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.6945, allocations: 25.7 kB / 0.561 GB, free: 1.77 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6948, allocations: 234.6 kB / 0.5612 GB, free: 1.539 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.6949, allocations: 15.7 kB / 0.5612 GB, free: 1.523 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.6949, allocations: 4 kB / 0.5612 GB, free: 1.52 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.6951, allocations: 318.8 kB / 0.5615 GB, free: 1.199 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.372e-05/0.6952, allocations: 16 kB / 0.5615 GB, free: 1.184 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.6953, allocations: 23.98 kB / 0.5615 GB, free: 1.16 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.6954, allocations: 27.92 kB / 0.5616 GB, free: 1.133 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6955, allocations: 3.938 kB / 0.5616 GB, free: 1.129 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003044/0.6958, allocations: 73.59 kB / 0.5616 GB, free: 1.051 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.6958, allocations: 8 kB / 0.5616 GB, free: 1.043 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6959, allocations: 0 / 0.5616 GB, free: 1.043 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.6959, allocations: 3.953 kB / 0.5617 GB, free: 1.039 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.6962, allocations: 31.97 kB / 0.5617 GB, free: 1.008 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6962, allocations: 4 kB / 0.5617 GB, free: 1.004 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.6965, allocations: 11.94 kB / 0.5617 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.6966, allocations: 4 kB / 0.5617 GB, free: 0.9883 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 0.0001227/0.6967, allocations: 105 kB / 0.5618 GB, free: 0.8789 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004421/0.6972, allocations: 117.1 kB / 0.5619 GB, free: 0.7578 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.6974, allocations: 47.39 kB / 0.562 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.6979, allocations: 142 kB / 0.5621 GB, free: 0.5625 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.698, allocations: 4 kB / 0.5621 GB, free: 0.5586 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.698, allocations: 3.984 kB / 0.5621 GB, free: 0.5547 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.698, allocations: 0 / 0.5621 GB, free: 0.5547 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.6999, allocations: 0.5769 MB / 0.5627 GB, free: 15.93 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.6999, allocations: 7.953 kB / 0.5627 GB, free: 15.92 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.7002, allocations: 27.98 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.7003, allocations: 0 / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.7003, allocations: 0 / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7003, allocations: 4 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7003, allocations: 0 / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.7009, allocations: 215 kB / 0.5629 GB, free: 15.66 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.7014, allocations: 164.5 kB / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.7015, allocations: 0 / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.7018, allocations: 19.98 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.7019, allocations: 7.984 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.702, allocations: 0 / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.7037, allocations: 0.6082 MB / 0.5637 GB, free: 14.85 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.7037, allocations: 0 / 0.5637 GB, free: 14.85 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008084/0.7046, allocations: 60 kB / 0.5637 GB, free: 14.79 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 (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.002317/0.7069, allocations: 0.99 MB / 0.5647 GB, free: 13.83 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.7073, allocations: 55.97 kB / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7073, allocations: 0 / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.7074, allocations: 24 kB / 0.5648 GB, free: 13.75 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.7081, allocations: 33.94 kB / 0.5648 GB, free: 13.72 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.7114, allocations: 0.8931 MB / 0.5657 GB, free: 12.78 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/0.7122, allocations: 0.8341 MB / 0.5665 GB, free: 11.92 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.7127, allocations: 123.4 kB / 0.5666 GB, free: 11.8 MB / 411.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7127, allocations: 0 / 0.5666 GB, free: 11.8 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.772/3.484, allocations: 7.474 MB / 0.5739 GB, free: 4.312 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat