Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",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.002171/0.002171, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001225, allocations: 93.09 kB / 270.9 MB, free: 8.402 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5187/0.5187, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004811, allocations: 12 kB / 431.5 MB, free: 6.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1516, allocations: 58.85 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5755/0.7271, allocations: 87.22 MB / 0.564 GB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.7275, allocations: 67.97 kB / 0.5641 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.7471, allocations: 4.461 MB / 0.5684 GB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7472, allocations: 0 / 0.5684 GB, free: 10.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.7472, allocations: 4 kB / 0.5684 GB, free: 10.99 MB / 394.7 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.0006431/0.7479, allocations: 422.6 kB / 0.5688 GB, free: 10.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.7479, allocations: 12.69 kB / 0.5688 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.748, allocations: 34.56 kB / 0.5689 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.7481, allocations: 19.25 kB / 0.5689 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.7484, allocations: 207.1 kB / 0.5691 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.7484, allocations: 4.766 kB / 0.5691 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.7485, allocations: 4 kB / 0.5691 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.7487, allocations: 61.67 kB / 0.5692 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7488, allocations: 0 / 0.5692 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.7488, allocations: 5.031 kB / 0.5692 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7488, allocations: 0 / 0.5692 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.7491, allocations: 47.97 kB / 0.5692 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.7497, allocations: 336.6 kB / 0.5695 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.7499, allocations: 50.66 kB / 0.5696 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.75, allocations: 3.984 kB / 0.5696 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.75, allocations: 30.56 kB / 0.5696 GB, free: 9.613 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.75, allocations: 4 kB / 0.5696 GB, free: 9.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001318/0.7514, allocations: 269.1 kB / 0.5699 GB, free: 9.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.7514, allocations: 51.41 kB / 0.5699 GB, free: 9.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.7517, allocations: 194 kB / 0.5701 GB, free: 9.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.7518, allocations: 25.7 kB / 0.5701 GB, free: 9.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.7519, allocations: 174.5 kB / 0.5703 GB, free: 8.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.7519, allocations: 27.64 kB / 0.5703 GB, free: 8.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.752, allocations: 0 / 0.5703 GB, free: 8.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7521, allocations: 314.8 kB / 0.5706 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.7524, allocations: 47.97 kB / 0.5707 GB, free: 8.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.7526, allocations: 48.03 kB / 0.5707 GB, free: 8.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.7529, allocations: 51.97 kB / 0.5708 GB, free: 8.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7529, allocations: 0 / 0.5708 GB, free: 8.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005506/0.7534, allocations: 133.6 kB / 0.5709 GB, free: 8.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7535, allocations: 8 kB / 0.5709 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7535, allocations: 0 / 0.5709 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.7535, allocations: 3.953 kB / 0.5709 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.7537, allocations: 23.98 kB / 0.5709 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7537, allocations: 0 / 0.5709 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.7539, allocations: 11.98 kB / 0.5709 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.7539, allocations: 11.94 kB / 0.571 GB, free: 8.195 MB / 394.7 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 () * Number of clocked 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.0001527/0.7541, allocations: 133.8 kB / 0.5711 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.7541, allocations: 7.906 kB / 0.5711 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.7548, allocations: 163.8 kB / 0.5712 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.7548, allocations: 3.953 kB / 0.5712 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7548, allocations: 4 kB / 0.5713 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7548, allocations: 0.75 kB / 0.5713 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.7558, allocations: 446.4 kB / 0.5717 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7558, allocations: 0 / 0.5717 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.7561, allocations: 27.98 kB / 0.5717 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.7561, allocations: 7.953 kB / 0.5717 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.7561, allocations: 3.938 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.7561, allocations: 4 kB / 0.5717 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7561, allocations: 288 / 0.5717 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.7567, allocations: 247.2 kB / 0.572 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.7569, allocations: 100.9 kB / 0.5721 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.7569, allocations: 7.953 kB / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.7571, allocations: 15.98 kB / 0.5721 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.7571, allocations: 7.984 kB / 0.5721 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.7572, allocations: 4 kB / 0.5721 GB, free: 6.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000249/0.7574, allocations: 159.7 kB / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7574, allocations: 0 / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.7578, allocations: 23.94 kB / 0.5723 GB, free: 6.75 MB / 394.7 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 () * Number of clocked 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.00202/0.7598, allocations: 1.072 MB / 0.5733 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006028/0.7605, allocations: 111.8 kB / 0.5734 GB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7605, allocations: 0 / 0.5734 GB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.7607, allocations: 59.91 kB / 0.5735 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.7611, allocations: 22.19 kB / 0.5735 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.7634, allocations: 0.8763 MB / 0.5743 GB, free: 4.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.7638, allocations: 0.716 MB / 0.575 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.7639, allocations: 31.42 kB / 0.5751 GB, free: 3.863 MB / 394.7 MB Notification: Performance of SimCode: time 1.974e-06/0.764, allocations: 4 kB / 0.5751 GB, free: 3.859 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.487, allocations: 2.435 MB / 0.5775 GB, free: 1.426 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat