Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",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.0009492/0.0009492, allocations: 178.7 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008762/0.0008761, allocations: 82.62 kB / 261.7 MB, free: 1.688 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.2336/0.2336, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.038e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5804, allocations: 85.69 MB / 0.5497 GB, free: 8.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.5806, allocations: 75.05 kB / 0.5498 GB, free: 8.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008294/0.589, allocations: 3.546 MB / 0.5533 GB, free: 5.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.589, allocations: 0 / 0.5533 GB, free: 5.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.589, allocations: 4 kB / 0.5533 GB, free: 5.754 MB / 362.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.0003544/0.5894, allocations: 374.8 kB / 0.5536 GB, free: 5.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5894, allocations: 11.97 kB / 0.5536 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.5895, allocations: 7.906 kB / 0.5536 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.5897, allocations: 194.1 kB / 0.5538 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5897, allocations: 0 / 0.5538 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.5897, allocations: 4 kB / 0.5538 GB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.521e-05/0.5898, allocations: 15 kB / 0.5538 GB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.977e-05/0.5899, allocations: 41.5 kB / 0.5539 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5899, allocations: 0 / 0.5539 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5899, allocations: 4 kB / 0.5539 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5899, allocations: 0 / 0.5539 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.5903, allocations: 263.9 kB / 0.5541 GB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.5904, allocations: 38.41 kB / 0.5542 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.5905, allocations: 12.67 kB / 0.5542 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5905, allocations: 4 kB / 0.5542 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.5905, allocations: 34.64 kB / 0.5542 GB, free: 4.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5905, allocations: 4 kB / 0.5542 GB, free: 4.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003427/0.5909, allocations: 106.9 kB / 0.5543 GB, free: 4.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.5909, allocations: 51.41 kB / 0.5544 GB, free: 4.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.591, allocations: 138.4 kB / 0.5545 GB, free: 4.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.591, allocations: 29.7 kB / 0.5545 GB, free: 4.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.5911, allocations: 102.6 kB / 0.5546 GB, free: 4.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.5911, allocations: 19.19 kB / 0.5546 GB, free: 4.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.5911, allocations: 0 / 0.5546 GB, free: 4.223 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.5912, allocations: 322.5 kB / 0.555 GB, free: 3.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.5912, allocations: 11.44 kB / 0.555 GB, free: 3.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.5912, allocations: 11.25 kB / 0.555 GB, free: 3.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.5913, allocations: 11.67 kB / 0.555 GB, free: 3.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.5913, allocations: 0 / 0.555 GB, free: 3.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.962e-05/0.5914, allocations: 80.78 kB / 0.5551 GB, free: 3.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5914, allocations: 4 kB / 0.5551 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5914, allocations: 3.984 kB / 0.5551 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5914, allocations: 0 / 0.5551 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.5915, allocations: 12 kB / 0.5551 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5915, allocations: 0 / 0.5551 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.5915, allocations: 11.98 kB / 0.5551 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.5915, allocations: 0 / 0.5551 GB, free: 3.773 MB / 362.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 5.086e-05/0.5916, allocations: 109.1 kB / 0.5552 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.802e-05/0.5917, allocations: 68.59 kB / 0.5553 GB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.5917, allocations: 7.906 kB / 0.5553 GB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.5919, allocations: 72.33 kB / 0.5553 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5919, allocations: 4 kB / 0.5553 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5919, allocations: 0 / 0.5553 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5919, allocations: 3.953 kB / 0.5553 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.5921, allocations: 317.1 kB / 0.5556 GB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5921, allocations: 4 kB / 0.5557 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.5922, allocations: 8 kB / 0.5557 GB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.5922, allocations: 4 kB / 0.5557 GB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5922, allocations: 0 / 0.5557 GB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5922, allocations: 3.984 kB / 0.5557 GB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5922, allocations: 3.953 kB / 0.5557 GB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.81e-05/0.5923, allocations: 162.5 kB / 0.5558 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.5924, allocations: 89.02 kB / 0.5559 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.5924, allocations: 0 / 0.5559 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.5925, allocations: 11.98 kB / 0.5559 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.5925, allocations: 7.75 kB / 0.5559 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.5925, allocations: 7.891 kB / 0.5559 GB, free: 2.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.5926, allocations: 114 kB / 0.556 GB, free: 2.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5926, allocations: 4 kB / 0.5561 GB, free: 2.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.5928, allocations: 12 kB / 0.5561 GB, free: 2.758 MB / 362.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.0008576/0.5937, allocations: 0.9293 MB / 0.557 GB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.5938, allocations: 31.69 kB / 0.557 GB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5938, allocations: 4 kB / 0.557 GB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.5938, allocations: 18.92 kB / 0.557 GB, free: 1.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.594, allocations: 11.98 kB / 0.557 GB, free: 1.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.5944, allocations: 179.6 kB / 0.5572 GB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.5946, allocations: 0.7001 MB / 0.5579 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.5947, allocations: 12.19 kB / 0.5579 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.5947, allocations: 26.05 kB / 0.5579 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5947, allocations: 0 / 0.5579 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.614, allocations: 1.804 MB / 0.5597 GB, free: 15.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.6143, allocations: 163 kB / 0.5598 GB, free: 14.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/2.042, allocations: 0 / 0.5598 GB, free: 14.88 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat does not exist to compare? outputFormat=mat