Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.002291/0.00229, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.299/2.299, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001191/0.001191, allocations: 91.44 kB / 270.9 MB, free: 8.395 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.5759/0.5759, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004885, allocations: 12 kB / 431.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1382, allocations: 58.84 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.6187, allocations: 86.38 MB / 0.5632 GB, free: 60 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/0.6191, allocations: 75.95 kB / 0.5633 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.6367, allocations: 3.935 MB / 0.5671 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6367, allocations: 0 / 0.5671 GB, free: 12.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.6368, allocations: 0 / 0.5671 GB, free: 12.09 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.0006079/0.6374, allocations: 411.7 kB / 0.5675 GB, free: 11.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6374, allocations: 11.97 kB / 0.5675 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.6375, allocations: 38.55 kB / 0.5675 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.6376, allocations: 11.34 kB / 0.5675 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.6379, allocations: 198.9 kB / 0.5677 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.6379, allocations: 4 kB / 0.5677 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.638, allocations: 0 / 0.5677 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.6382, allocations: 49.69 kB / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.6382, allocations: 3.938 kB / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6382, allocations: 4 kB / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.6382, allocations: 0 / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.6384, allocations: 29 kB / 0.5678 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.6389, allocations: 288.3 kB / 0.5681 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.6392, allocations: 50.5 kB / 0.5681 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.6392, allocations: 0 / 0.5681 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.6393, allocations: 30.56 kB / 0.5682 GB, free: 10.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.6393, allocations: 0 / 0.5682 GB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008758/0.6402, allocations: 165.3 kB / 0.5683 GB, free: 10.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.6403, allocations: 55.36 kB / 0.5684 GB, free: 10.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.6406, allocations: 181.4 kB / 0.5686 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.6406, allocations: 33.7 kB / 0.5686 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.6407, allocations: 166.4 kB / 0.5687 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.6408, allocations: 19.8 kB / 0.5688 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.6408, allocations: 0 / 0.5688 GB, free: 10.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6409, allocations: 311.1 kB / 0.5691 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.6411, allocations: 19.98 kB / 0.5691 GB, free: 9.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.6412, allocations: 27.98 kB / 0.5691 GB, free: 9.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.6413, allocations: 23.98 kB / 0.5691 GB, free: 9.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6414, allocations: 0 / 0.5691 GB, free: 9.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003243/0.6417, allocations: 77.67 kB / 0.5692 GB, free: 9.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6417, allocations: 11.94 kB / 0.5692 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6417, allocations: 0 / 0.5692 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6418, allocations: 0 / 0.5692 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6419, allocations: 15.98 kB / 0.5692 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6419, allocations: 0 / 0.5692 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.642, allocations: 11.95 kB / 0.5692 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.6421, allocations: 4 kB / 0.5692 GB, free: 9.684 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.0001499/0.6422, allocations: 133.8 kB / 0.5694 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.6423, allocations: 11.91 kB / 0.5694 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.6427, allocations: 101.9 kB / 0.5695 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6427, allocations: 3.938 kB / 0.5695 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.6427, allocations: 0 / 0.5695 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6427, allocations: 3.984 kB / 0.5695 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.6435, allocations: 379.2 kB / 0.5699 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6435, allocations: 0 / 0.5699 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.6436, allocations: 15.98 kB / 0.5699 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6437, allocations: 0 / 0.5699 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.6437, allocations: 4.375 kB / 0.5699 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6437, allocations: 0 / 0.5699 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.6437, allocations: 7.953 kB / 0.5699 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.6441, allocations: 187.7 kB / 0.5701 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.607e-05/0.6442, allocations: 101 kB / 0.5702 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.6443, allocations: 3.984 kB / 0.5702 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.6444, allocations: 11.98 kB / 0.5702 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.6444, allocations: 0 / 0.5702 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.6445, allocations: 3.953 kB / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.6447, allocations: 163.8 kB / 0.5703 GB, free: 8.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6447, allocations: 0 / 0.5703 GB, free: 8.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000345/0.6451, allocations: 20 kB / 0.5703 GB, free: 8.453 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.001892/0.647, allocations: 1.03 MB / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.6474, allocations: 55.97 kB / 0.5714 GB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6474, allocations: 0 / 0.5714 GB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.6476, allocations: 31.92 kB / 0.5714 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.6479, allocations: 11.98 kB / 0.5715 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.6498, allocations: 0.7106 MB / 0.5721 GB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.6503, allocations: 0.7043 MB / 0.5728 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.6504, allocations: 31.5 kB / 0.5729 GB, free: 5.879 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6504, allocations: 0 / 0.5729 GB, free: 5.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.793/3.444, allocations: 2.074 MB / 0.5749 GB, free: 3.805 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat