Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15",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.001533/0.001533, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.249/2.249, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001095/0.001094, allocations: 92.08 kB / 270.9 MB, free: 8.375 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.5319/0.5319, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000728/0.000728, allocations: 20 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1405, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.6101, allocations: 86.48 MB / 0.5633 GB, free: 68 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.6105, allocations: 80.03 kB / 0.5634 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.6275, allocations: 3.948 MB / 0.5672 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6276, allocations: 0 / 0.5672 GB, free: 12.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.6276, allocations: 8 kB / 0.5672 GB, free: 12.07 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.0005757/0.6282, allocations: 404 kB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6283, allocations: 8.031 kB / 0.5676 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.6283, allocations: 30.56 kB / 0.5676 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.6284, allocations: 11.34 kB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.6287, allocations: 202.9 kB / 0.5679 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.6287, allocations: 4 kB / 0.5679 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.6288, allocations: 4 kB / 0.5679 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.6289, allocations: 54.5 kB / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.629, allocations: 0 / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.629, allocations: 0 / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.629, allocations: 4 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.6292, allocations: 29.75 kB / 0.5679 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.6297, allocations: 296.8 kB / 0.5682 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.63, allocations: 50.48 kB / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.6301, allocations: 0 / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.6301, allocations: 34.56 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.6301, allocations: 0 / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009673/0.6311, allocations: 177.3 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.6312, allocations: 55.36 kB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.6316, allocations: 184.7 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6316, allocations: 29.69 kB / 0.5687 GB, free: 10.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.6317, allocations: 170.5 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.6317, allocations: 15.75 kB / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.6318, allocations: 0 / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6319, allocations: 311.1 kB / 0.5692 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.6321, allocations: 23.98 kB / 0.5692 GB, free: 9.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.6322, allocations: 31.97 kB / 0.5693 GB, free: 9.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6324, allocations: 23.98 kB / 0.5693 GB, free: 9.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6324, allocations: 0 / 0.5693 GB, free: 9.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003603/0.6328, allocations: 93.61 kB / 0.5694 GB, free: 9.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.6328, allocations: 4 kB / 0.5694 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.6328, allocations: 0 / 0.5694 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6329, allocations: 4 kB / 0.5694 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.633, allocations: 11.98 kB / 0.5694 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.633, allocations: 4 kB / 0.5694 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.6331, allocations: 11.94 kB / 0.5694 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6331, allocations: 8 kB / 0.5694 GB, free: 9.625 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.6333, allocations: 129.8 kB / 0.5695 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.6334, allocations: 7.906 kB / 0.5695 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.6338, allocations: 117.8 kB / 0.5697 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6338, allocations: 0 / 0.5697 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6338, allocations: 4 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.6338, allocations: 0 / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.6346, allocations: 382.5 kB / 0.57 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6346, allocations: 0 / 0.57 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6347, allocations: 19.98 kB / 0.57 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6347, allocations: 0 / 0.57 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.6348, allocations: 4 kB / 0.57 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6348, allocations: 4.312 kB / 0.5701 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6348, allocations: 3.953 kB / 0.5701 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.6352, allocations: 203.7 kB / 0.5703 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.6353, allocations: 89 kB / 0.5703 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.6354, allocations: 4 kB / 0.5703 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.6355, allocations: 11.98 kB / 0.5704 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.6355, allocations: 4.734 kB / 0.5704 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.6356, allocations: 7.953 kB / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002077/0.6358, allocations: 151.8 kB / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.455e-06/0.6358, allocations: 0 / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.6361, allocations: 31.94 kB / 0.5705 GB, free: 8.371 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.001834/0.638, allocations: 1.034 MB / 0.5715 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.6383, allocations: 55.97 kB / 0.5716 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6383, allocations: 0 / 0.5716 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.6385, allocations: 35.91 kB / 0.5716 GB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.6388, allocations: 12 kB / 0.5716 GB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.6406, allocations: 0.7341 MB / 0.5724 GB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.641, allocations: 0.7043 MB / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.6411, allocations: 31.5 kB / 0.5731 GB, free: 5.766 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6411, allocations: 7.938 kB / 0.5731 GB, free: 5.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.4, allocations: 2.101 MB / 0.5751 GB, free: 3.656 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat does not exist to compare? outputFormat=mat