Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.0009816/0.0009817, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.298/1.298, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008146/0.0008146, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1807/0.1807, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.08993, allocations: 58.86 MB / 490.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3778, allocations: 86.46 MB / 0.5633 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.3781, allocations: 71.66 kB / 0.5634 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008995/0.3871, allocations: 3.54 MB / 0.5668 GB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3871, allocations: 0 / 0.5668 GB, free: 10.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3872, allocations: 4 kB / 0.5668 GB, free: 10.13 MB / 378.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.0004018/0.3876, allocations: 395 kB / 0.5672 GB, free: 9.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3876, allocations: 8.031 kB / 0.5672 GB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.3877, allocations: 33.75 kB / 0.5672 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.3877, allocations: 4 kB / 0.5672 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3879, allocations: 186.5 kB / 0.5674 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3879, allocations: 4 kB / 0.5674 GB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3879, allocations: 3.375 kB / 0.5674 GB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.3881, allocations: 48.94 kB / 0.5675 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3881, allocations: 3.984 kB / 0.5675 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3881, allocations: 0 / 0.5675 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3881, allocations: 7.938 kB / 0.5675 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.3882, allocations: 30.98 kB / 0.5675 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.3886, allocations: 286.2 kB / 0.5678 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3888, allocations: 48.05 kB / 0.5678 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3889, allocations: 0 / 0.5678 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3889, allocations: 39.5 kB / 0.5679 GB, free: 8.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.3889, allocations: 0 / 0.5679 GB, free: 8.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005625/0.3895, allocations: 160.5 kB / 0.568 GB, free: 8.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3895, allocations: 55.36 kB / 0.5681 GB, free: 8.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3896, allocations: 131.6 kB / 0.5682 GB, free: 8.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3897, allocations: 30.33 kB / 0.5682 GB, free: 8.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.3897, allocations: 97.09 kB / 0.5683 GB, free: 8.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3897, allocations: 15.31 kB / 0.5683 GB, free: 8.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.3897, allocations: 0 / 0.5683 GB, free: 8.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.3898, allocations: 326.4 kB / 0.5686 GB, free: 8.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.3899, allocations: 19.98 kB / 0.5687 GB, free: 8.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.39, allocations: 27.73 kB / 0.5687 GB, free: 8.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/0.3901, allocations: 27.55 kB / 0.5687 GB, free: 8.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3901, allocations: 4 kB / 0.5687 GB, free: 8.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001775/0.3902, allocations: 95.19 kB / 0.5688 GB, free: 7.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3903, allocations: 7.438 kB / 0.5688 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3903, allocations: 0 / 0.5688 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3903, allocations: 288 / 0.5688 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.3904, allocations: 19.92 kB / 0.5688 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3904, allocations: 256 / 0.5688 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.3904, allocations: 7.953 kB / 0.5688 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3904, allocations: 8 kB / 0.5688 GB, free: 7.938 MB / 378.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 (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 0.000101/0.3905, allocations: 131.8 kB / 0.569 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3906, allocations: 11.89 kB / 0.569 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3908, allocations: 95.59 kB / 0.5691 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3908, allocations: 0 / 0.5691 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3909, allocations: 4 kB / 0.5691 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3909, allocations: 4 kB / 0.5691 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3913, allocations: 362.9 kB / 0.5694 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3913, allocations: 0 / 0.5694 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3914, allocations: 19.98 kB / 0.5694 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3914, allocations: 0 / 0.5694 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3914, allocations: 0 / 0.5694 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3914, allocations: 0 / 0.5694 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3914, allocations: 3.953 kB / 0.5695 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.3916, allocations: 202.2 kB / 0.5696 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.3917, allocations: 84.58 kB / 0.5697 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3917, allocations: 7.938 kB / 0.5697 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.3918, allocations: 7.984 kB / 0.5697 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3918, allocations: 3.953 kB / 0.5697 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3918, allocations: 4 kB / 0.5697 GB, free: 6.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.954e-05/0.3919, allocations: 111.5 kB / 0.5699 GB, free: 6.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3919, allocations: 0 / 0.5699 GB, free: 6.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.3922, allocations: 23.94 kB / 0.5699 GB, free: 6.848 MB / 378.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 (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.001203/0.3934, allocations: 1.022 MB / 0.5709 GB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.3936, allocations: 51.09 kB / 0.5709 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3936, allocations: 0 / 0.5709 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.3937, allocations: 43.03 kB / 0.571 GB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.3939, allocations: 23.34 kB / 0.571 GB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.3948, allocations: 0.5636 MB / 0.5715 GB, free: 5.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3951, allocations: 0.6965 MB / 0.5722 GB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.3952, allocations: 16.41 kB / 0.5722 GB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.3952, allocations: 29.86 kB / 0.5723 GB, free: 4.461 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3952, allocations: 0 / 0.5723 GB, free: 4.461 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.4085, allocations: 2.035 MB / 0.5743 GB, free: 2.449 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.4087, allocations: 210.3 kB / 0.5745 GB, free: 2.207 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.973, allocations: 0 / 0.5745 GB, free: 2.207 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat