Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",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.001563/0.001563, allocations: 182.9 kB / 13.19 MB, free: 2.121 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.04/2.04, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009963/0.0009963, allocations: 92.47 kB / 267 MB, free: 9.277 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.5081/0.5081, allocations: 43.48 MB / 358.6 MB, free: 52.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-05/5.75e-05, allocations: 7.984 kB / 425.4 MB, free: 8.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1468, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.6152, allocations: 86.5 MB / 0.5574 GB, free: 2.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.6154, allocations: 69.03 kB / 0.5574 GB, free: 2.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009893/0.6253, allocations: 3.962 MB / 0.5613 GB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.6254, allocations: 4 kB / 0.5613 GB, free: 14.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.6254, allocations: 0 / 0.5613 GB, free: 14.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004346/0.6259, allocations: 378.1 kB / 0.5617 GB, free: 14.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6259, allocations: 8.031 kB / 0.5617 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.626, allocations: 39.06 kB / 0.5617 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.626, allocations: 11.34 kB / 0.5617 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.6263, allocations: 203.4 kB / 0.5619 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.6263, allocations: 0 / 0.5619 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.6263, allocations: 12 kB / 0.5619 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.6265, allocations: 75.36 kB / 0.562 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6265, allocations: 3.984 kB / 0.562 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.6265, allocations: 4 kB / 0.562 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6265, allocations: 9.312 kB / 0.562 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.6266, allocations: 23.98 kB / 0.562 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.6271, allocations: 389.1 kB / 0.5624 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.6274, allocations: 81.17 kB / 0.5625 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.6274, allocations: 25.72 kB / 0.5625 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.6275, allocations: 8.078 kB / 0.5625 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.6275, allocations: 34.5 kB / 0.5626 GB, free: 13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.6275, allocations: 0 / 0.5626 GB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005389/0.628, allocations: 181 kB / 0.5627 GB, free: 12.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.6281, allocations: 85.11 kB / 0.5628 GB, free: 12.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.6283, allocations: 151.4 kB / 0.563 GB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6283, allocations: 29.64 kB / 0.563 GB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.6283, allocations: 92.14 kB / 0.5631 GB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.6284, allocations: 35.53 kB / 0.5631 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.6284, allocations: 4 kB / 0.5631 GB, free: 12.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6285, allocations: 322.8 kB / 0.5634 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.6285, allocations: 16 kB / 0.5634 GB, free: 12.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.6286, allocations: 45.7 kB / 0.5635 GB, free: 12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.6287, allocations: 27.98 kB / 0.5635 GB, free: 11.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6287, allocations: 0 / 0.5635 GB, free: 11.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001627/0.6288, allocations: 105.5 kB / 0.5636 GB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.6289, allocations: 6.062 kB / 0.5636 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6289, allocations: 0 / 0.5636 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.6289, allocations: 0 / 0.5636 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.629, allocations: 27.94 kB / 0.5636 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.629, allocations: 7.984 kB / 0.5636 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.6291, allocations: 11.91 kB / 0.5637 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.6291, allocations: 0 / 0.5637 GB, free: 11.81 MB / 394.7 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 (10): * Single equations (assignments): 10 * 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 6.926e-05/0.6291, allocations: 116.9 kB / 0.5638 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.6292, allocations: 7.906 kB / 0.5638 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.6295, allocations: 121.9 kB / 0.5639 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6295, allocations: 4 kB / 0.5639 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6295, allocations: 7.953 kB / 0.5639 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6295, allocations: 3.938 kB / 0.5639 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.63, allocations: 482.6 kB / 0.5644 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.6301, allocations: 4 kB / 0.5644 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.6302, allocations: 19.98 kB / 0.5644 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.6302, allocations: 7.953 kB / 0.5644 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6302, allocations: 11.97 kB / 0.5644 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6302, allocations: 0 / 0.5644 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6302, allocations: 4 kB / 0.5644 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.6305, allocations: 303.3 kB / 0.5647 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.6305, allocations: 101 kB / 0.5648 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.6305, allocations: 3.984 kB / 0.5648 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.6306, allocations: 4 kB / 0.5648 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.6307, allocations: 11.98 kB / 0.5648 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.6307, allocations: 4 kB / 0.5648 GB, free: 10.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.6308, allocations: 115.3 kB / 0.5649 GB, free: 10.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6308, allocations: 0 / 0.5649 GB, free: 10.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.6311, allocations: 27.94 kB / 0.565 GB, free: 10.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.00125/0.6323, allocations: 1.236 MB / 0.5662 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.6325, allocations: 63.98 kB / 0.5662 GB, free: 9.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6325, allocations: 3.938 kB / 0.5662 GB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.719e-05/0.6326, allocations: 35.94 kB / 0.5663 GB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6328, allocations: 21.33 kB / 0.5663 GB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.6334, allocations: 213.1 kB / 0.5665 GB, free: 8.797 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6337, allocations: 0.7122 MB / 0.5672 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.73e-05/0.6338, allocations: 23.33 kB / 0.5672 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.6339, allocations: 35.42 kB / 0.5672 GB, free: 8.004 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6339, allocations: 0 / 0.5672 GB, free: 8.004 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.6486, allocations: 2.396 MB / 0.5696 GB, free: 5.641 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.6488, allocations: 197.6 kB / 0.5698 GB, free: 5.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.131, allocations: 0 / 0.5698 GB, free: 5.402 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat does not exist to compare? outputFormat=mat