Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.001179/0.001179, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, 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.00107/0.001071, allocations: 94.53 kB / 267.1 MB, free: 9.281 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.5019/0.5019, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.147e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.6675, allocations: 86.64 MB / 0.5575 GB, free: 17.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.6678, allocations: 71.8 kB / 0.5576 GB, free: 17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.6789, allocations: 4.144 MB / 0.5616 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.6789, allocations: 0 / 0.5616 GB, free: 14.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.6789, allocations: 8.484 kB / 0.5616 GB, free: 14.76 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004068/0.6794, allocations: 374.9 kB / 0.562 GB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.6794, allocations: 8.031 kB / 0.562 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.6795, allocations: 35.66 kB / 0.562 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.6795, allocations: 11.34 kB / 0.5621 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.6799, allocations: 183 kB / 0.5622 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.6799, allocations: 4 kB / 0.5622 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.6799, allocations: 3.938 kB / 0.5622 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.6801, allocations: 62.95 kB / 0.5623 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.6801, allocations: 3.984 kB / 0.5623 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.6801, allocations: 0 / 0.5623 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6801, allocations: 1.375 kB / 0.5623 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.6802, allocations: 17.03 kB / 0.5623 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.6806, allocations: 285.5 kB / 0.5626 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.6809, allocations: 46.19 kB / 0.5626 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.6809, allocations: 12.86 kB / 0.5626 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.6809, allocations: 0 / 0.5626 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.681, allocations: 36.05 kB / 0.5627 GB, free: 13.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.681, allocations: 0 / 0.5627 GB, free: 13.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004284/0.6814, allocations: 107.9 kB / 0.5628 GB, free: 13.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.6815, allocations: 92.62 kB / 0.5629 GB, free: 13.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.6816, allocations: 123.3 kB / 0.563 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6816, allocations: 29.58 kB / 0.563 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.6817, allocations: 89.59 kB / 0.5631 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.6817, allocations: 17.14 kB / 0.5631 GB, free: 13.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.6817, allocations: 0 / 0.5631 GB, free: 13.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.6818, allocations: 321.4 kB / 0.5634 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.6818, allocations: 15.88 kB / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.6819, allocations: 23.55 kB / 0.5635 GB, free: 12.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.6819, allocations: 21.72 kB / 0.5635 GB, free: 12.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.6819, allocations: 0 / 0.5635 GB, free: 12.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.821e-05/0.682, allocations: 69.72 kB / 0.5635 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6821, allocations: 4 kB / 0.5636 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6821, allocations: 1.594 kB / 0.5636 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.6821, allocations: 0 / 0.5636 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.6822, allocations: 14.38 kB / 0.5636 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.6822, allocations: 4 kB / 0.5636 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.6822, allocations: 13.27 kB / 0.5636 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6823, allocations: 1.438 kB / 0.5636 GB, free: 12.74 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 () * 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 6.79e-05/0.6823, allocations: 106.1 kB / 0.5637 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.6824, allocations: 11.84 kB / 0.5637 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.6825, allocations: 81.3 kB / 0.5638 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6825, allocations: 0 / 0.5638 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6826, allocations: 8 kB / 0.5638 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6826, allocations: 1.453 kB / 0.5638 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.6829, allocations: 344 kB / 0.5641 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6829, allocations: 0 / 0.5641 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.683, allocations: 14.95 kB / 0.5641 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.683, allocations: 0 / 0.5641 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.683, allocations: 0 / 0.5641 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.683, allocations: 4 kB / 0.5641 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.683, allocations: 7.953 kB / 0.5641 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.6832, allocations: 159.5 kB / 0.5643 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.6832, allocations: 88 kB / 0.5644 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.6832, allocations: 4 kB / 0.5644 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.6833, allocations: 9.531 kB / 0.5644 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.6834, allocations: 10.89 kB / 0.5644 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.6834, allocations: 4 kB / 0.5644 GB, free: 11.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.6834, allocations: 110.8 kB / 0.5645 GB, free: 11.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6834, allocations: 0 / 0.5645 GB, free: 11.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.6837, allocations: 25.64 kB / 0.5645 GB, free: 11.8 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 () * 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.001165/0.6849, allocations: 0.9949 MB / 0.5655 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.685, allocations: 33.94 kB / 0.5655 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.685, allocations: 0 / 0.5655 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.6851, allocations: 21.17 kB / 0.5656 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.6853, allocations: 18.56 kB / 0.5656 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.6858, allocations: 161.5 kB / 0.5657 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.6861, allocations: 0.6977 MB / 0.5664 GB, free: 9.953 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.6861, allocations: 12.42 kB / 0.5664 GB, free: 9.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.6862, allocations: 22.08 kB / 0.5664 GB, free: 9.93 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6862, allocations: 0 / 0.5664 GB, free: 9.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.7017, allocations: 2.297 MB / 0.5687 GB, free: 8.281 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.7019, allocations: 190.1 kB / 0.5689 GB, free: 8.051 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.182, allocations: 0 / 0.5689 GB, free: 8.051 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat does not exist to compare? outputFormat=mat