Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",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.00158/0.00158, 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 1.986/1.986, 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.001681/0.001681, allocations: 88.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.5168/0.5168, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005171, allocations: 12 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1299, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.6026, allocations: 86.59 MB / 0.5634 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6029, allocations: 71.95 kB / 0.5635 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01949/0.6224, allocations: 4.273 MB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6225, allocations: 0 / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6225, allocations: 4 kB / 0.5676 GB, free: 11.64 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.00062/0.6232, allocations: 422.6 kB / 0.568 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.6232, allocations: 12.03 kB / 0.568 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.6233, allocations: 34.56 kB / 0.5681 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.6234, allocations: 19.25 kB / 0.5681 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.6237, allocations: 210.8 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.6237, allocations: 3.844 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.6238, allocations: 8 kB / 0.5683 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.624, allocations: 71.39 kB / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6241, allocations: 0 / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.6241, allocations: 8 kB / 0.5684 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.6241, allocations: 4 kB / 0.5684 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.6243, allocations: 40.94 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.625, allocations: 413 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.6255, allocations: 85.38 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.6255, allocations: 4 kB / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6256, allocations: 34.56 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.785e-06/0.6256, allocations: 0 / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001178/0.6268, allocations: 269.1 kB / 0.5692 GB, free: 9.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.6269, allocations: 77.11 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.6272, allocations: 210.5 kB / 0.5695 GB, free: 9.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.6273, allocations: 29.7 kB / 0.5695 GB, free: 9.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6274, allocations: 162.6 kB / 0.5697 GB, free: 9.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.6275, allocations: 31.55 kB / 0.5697 GB, free: 9.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.6275, allocations: 0 / 0.5697 GB, free: 9.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6276, allocations: 318.8 kB / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.6278, allocations: 43.91 kB / 0.57 GB, free: 8.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.628, allocations: 49.69 kB / 0.5701 GB, free: 8.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.6282, allocations: 40.61 kB / 0.5701 GB, free: 8.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6282, allocations: 4 kB / 0.5701 GB, free: 8.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004456/0.6287, allocations: 121.9 kB / 0.5702 GB, free: 8.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6287, allocations: 7.984 kB / 0.5702 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6288, allocations: 4 kB / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6288, allocations: 7.984 kB / 0.5703 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.629, allocations: 19.98 kB / 0.5703 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.629, allocations: 12.7 kB / 0.5703 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.6291, allocations: 4 kB / 0.5703 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.6292, allocations: 11.94 kB / 0.5703 GB, free: 8.668 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 () * Number of clocked 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 0.0001865/0.6294, allocations: 133.8 kB / 0.5704 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.6295, allocations: 15.84 kB / 0.5704 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.63, allocations: 154.5 kB / 0.5706 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6301, allocations: 4 kB / 0.5706 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6301, allocations: 0 / 0.5706 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6301, allocations: 12.06 kB / 0.5706 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6312, allocations: 0.5298 MB / 0.5711 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6313, allocations: 3.938 kB / 0.5711 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.6314, allocations: 19.98 kB / 0.5711 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.6315, allocations: 4 kB / 0.5712 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.6315, allocations: 3.953 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.6315, allocations: 4 kB / 0.5712 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.6315, allocations: 7.969 kB / 0.5712 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.6321, allocations: 334.8 kB / 0.5715 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.6322, allocations: 97 kB / 0.5716 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.6322, allocations: 4 kB / 0.5716 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.6324, allocations: 4.188 kB / 0.5716 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.6325, allocations: 11.98 kB / 0.5716 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.6325, allocations: 8 kB / 0.5716 GB, free: 7.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002776/0.6328, allocations: 174.5 kB / 0.5718 GB, free: 7.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6328, allocations: 4 kB / 0.5718 GB, free: 7.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.6333, allocations: 27.94 kB / 0.5718 GB, free: 7.008 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 () * Number of clocked 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.002352/0.6356, allocations: 1.31 MB / 0.5731 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004905/0.6362, allocations: 87.89 kB / 0.5732 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6362, allocations: 4 kB / 0.5732 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.6365, allocations: 47.91 kB / 0.5732 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.6369, allocations: 15.98 kB / 0.5732 GB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.6397, allocations: 1.054 MB / 0.5743 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.6402, allocations: 0.72 MB / 0.575 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.6403, allocations: 39.42 kB / 0.575 GB, free: 3.711 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6403, allocations: 4 kB / 0.575 GB, free: 3.707 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/3.39, allocations: 2.51 MB / 0.5775 GB, free: 1.195 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat