Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",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.00174/0.00174, 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.158/2.158, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001218/0.001217, allocations: 88.14 kB / 270.9 MB, free: 8.383 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.5367/0.5367, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006482/0.0006483, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1347, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4744/0.6092, allocations: 86.34 MB / 0.5631 GB, free: 312 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.6095, allocations: 71.95 kB / 0.5632 GB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.626, allocations: 3.534 MB / 0.5667 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.626, allocations: 0 / 0.5667 GB, free: 12.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.626, allocations: 0 / 0.5667 GB, free: 12.74 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.0006019/0.6267, allocations: 399.8 kB / 0.567 GB, free: 12.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.032e-05/0.6267, allocations: 11.97 kB / 0.5671 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.6268, allocations: 34.56 kB / 0.5671 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.6268, allocations: 8 kB / 0.5671 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.6271, allocations: 186.9 kB / 0.5673 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.6272, allocations: 4 kB / 0.5673 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.6272, allocations: 0 / 0.5673 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.6274, allocations: 54.17 kB / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6274, allocations: 0 / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6275, allocations: 0 / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6275, allocations: 0 / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.6276, allocations: 36.95 kB / 0.5674 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.6281, allocations: 276.8 kB / 0.5676 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.6284, allocations: 42.56 kB / 0.5677 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.6285, allocations: 4 kB / 0.5677 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.6285, allocations: 34.5 kB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.6286, allocations: 0 / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008833/0.6295, allocations: 153.5 kB / 0.5679 GB, free: 11.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.6295, allocations: 63.3 kB / 0.5679 GB, free: 11.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.6297, allocations: 125.2 kB / 0.568 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6298, allocations: 25.7 kB / 0.5681 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.6299, allocations: 162.5 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.6299, allocations: 15.8 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.6299, allocations: 0 / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6301, allocations: 322.8 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.6302, allocations: 24.17 kB / 0.5686 GB, free: 10.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6304, allocations: 15.98 kB / 0.5686 GB, free: 10.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.6305, allocations: 31.98 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6305, allocations: 0 / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003644/0.6309, allocations: 77.67 kB / 0.5687 GB, free: 10.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.6309, allocations: 4 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.631, allocations: 0 / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.631, allocations: 0 / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.6311, allocations: 23.92 kB / 0.5687 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6311, allocations: 0 / 0.5687 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.6312, allocations: 11.95 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6313, allocations: 0 / 0.5687 GB, free: 10.43 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.0001377/0.6314, allocations: 125.8 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.6315, allocations: 7.906 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.6319, allocations: 97.97 kB / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6319, allocations: 4 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6319, allocations: 0 / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6319, allocations: 0 / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.6326, allocations: 362.7 kB / 0.5693 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6327, allocations: 0.875 kB / 0.5693 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.6328, allocations: 15.98 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6328, allocations: 0 / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6328, allocations: 0 / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6328, allocations: 0 / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.6328, allocations: 7.938 kB / 0.5693 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.6332, allocations: 199.7 kB / 0.5695 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.6333, allocations: 89.02 kB / 0.5696 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.6334, allocations: 0 / 0.5696 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6335, allocations: 7.984 kB / 0.5696 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.6336, allocations: 11.95 kB / 0.5696 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.6336, allocations: 0 / 0.5696 GB, free: 9.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.6337, allocations: 112.9 kB / 0.5697 GB, free: 9.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.6337, allocations: 4 kB / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.6341, allocations: 11.94 kB / 0.5697 GB, free: 9.289 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.001899/0.636, allocations: 1.027 MB / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.6364, allocations: 51.97 kB / 0.5708 GB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6364, allocations: 4 kB / 0.5708 GB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.6366, allocations: 27.98 kB / 0.5708 GB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.6369, allocations: 11.92 kB / 0.5708 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.6384, allocations: 0.5696 MB / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.6389, allocations: 0.7004 MB / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.639, allocations: 23.44 kB / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.639, allocations: 0 / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.779/3.418, allocations: 1.747 MB / 0.5738 GB, free: 5.137 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat