Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",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.001589/0.001588, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.053/2.053, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001627/0.001627, allocations: 92.42 kB / 270.9 MB, free: 8.367 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.5651/0.5651, allocations: 43.54 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004821, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6093, allocations: 86.49 MB / 0.5633 GB, free: 64 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.6097, allocations: 76 kB / 0.5634 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.6275, allocations: 3.945 MB / 0.5672 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.6276, allocations: 0 / 0.5672 GB, free: 12.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.6276, allocations: 4 kB / 0.5672 GB, free: 12.08 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.0006305/0.6282, allocations: 414.5 kB / 0.5676 GB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.6283, allocations: 8.031 kB / 0.5676 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.6284, allocations: 34.56 kB / 0.5676 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.6284, allocations: 11.34 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.6288, allocations: 198.9 kB / 0.5678 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.6288, allocations: 0 / 0.5678 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.6288, allocations: 8.859 kB / 0.5679 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.6291, allocations: 49.69 kB / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6291, allocations: 3.938 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6291, allocations: 3.984 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6291, allocations: 0 / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.6293, allocations: 25.02 kB / 0.5679 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.6299, allocations: 304.8 kB / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.6302, allocations: 50.59 kB / 0.5683 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.6303, allocations: 7.984 kB / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.6304, allocations: 30.56 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.376e-06/0.6304, allocations: 0 / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009243/0.6313, allocations: 169.2 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.6314, allocations: 55.36 kB / 0.5685 GB, free: 10.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.6317, allocations: 185.4 kB / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.6318, allocations: 29.64 kB / 0.5687 GB, free: 10.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.6319, allocations: 166.5 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.6319, allocations: 19.78 kB / 0.5689 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.632, allocations: 4 kB / 0.5689 GB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6321, allocations: 311.1 kB / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.6323, allocations: 27.98 kB / 0.5692 GB, free: 9.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.6324, allocations: 23.98 kB / 0.5693 GB, free: 9.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.6326, allocations: 27.98 kB / 0.5693 GB, free: 9.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.6326, allocations: 3.984 kB / 0.5693 GB, free: 9.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003405/0.6329, allocations: 85.61 kB / 0.5694 GB, free: 9.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.633, allocations: 8 kB / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.633, allocations: 0 / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.633, allocations: 0 / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.6332, allocations: 19.98 kB / 0.5694 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6332, allocations: 0 / 0.5694 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.6333, allocations: 7.953 kB / 0.5694 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.6333, allocations: 8 kB / 0.5694 GB, free: 9.617 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 (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.0001575/0.6335, allocations: 129.8 kB / 0.5695 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.6335, allocations: 7.906 kB / 0.5695 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.634, allocations: 117.8 kB / 0.5697 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.634, allocations: 0 / 0.5697 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.634, allocations: 8 kB / 0.5697 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.634, allocations: 3.938 kB / 0.5697 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007547/0.6348, allocations: 378.5 kB / 0.57 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6348, allocations: 0 / 0.57 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.635, allocations: 20.36 kB / 0.57 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.635, allocations: 0 / 0.57 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.635, allocations: 4 kB / 0.5701 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.635, allocations: 4 kB / 0.5701 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.635, allocations: 3.953 kB / 0.5701 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.6355, allocations: 199.4 kB / 0.5703 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6356, allocations: 93.02 kB / 0.5703 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.6357, allocations: 3.984 kB / 0.5703 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6358, allocations: 4 kB / 0.5703 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.6358, allocations: 4 kB / 0.5704 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.6359, allocations: 7.891 kB / 0.5704 GB, free: 8.543 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.6361, allocations: 159.8 kB / 0.5705 GB, free: 8.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6361, allocations: 0 / 0.5705 GB, free: 8.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.6365, allocations: 24 kB / 0.5705 GB, free: 8.367 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 (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.001882/0.6384, allocations: 1.04 MB / 0.5715 GB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.6388, allocations: 51.97 kB / 0.5716 GB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6388, allocations: 0 / 0.5716 GB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.639, allocations: 35.92 kB / 0.5716 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.6393, allocations: 19.97 kB / 0.5717 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.6412, allocations: 0.7301 MB / 0.5724 GB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.6416, allocations: 0.7083 MB / 0.5731 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6417, allocations: 27.42 kB / 0.5731 GB, free: 5.754 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6417, allocations: 4 kB / 0.5731 GB, free: 5.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.716/3.358, allocations: 2.105 MB / 0.5751 GB, free: 3.645 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat does not exist to compare? outputFormat=mat