Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.002351/0.002355, 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.109/2.109, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001139/0.001139, allocations: 88.38 kB / 270.9 MB, free: 8.387 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.6801/0.6801, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.6347, allocations: 86.42 MB / 0.5632 GB, free: 148 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.635, allocations: 79.95 kB / 0.5633 GB, free: 68 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.6546, allocations: 4.223 MB / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.126e-06/0.6547, allocations: 0 / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.6547, allocations: 15.86 kB / 0.5674 GB, free: 11.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006002/0.6553, allocations: 410.7 kB / 0.5678 GB, free: 11.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6554, allocations: 12.02 kB / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.6554, allocations: 34.56 kB / 0.5679 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.6555, allocations: 26.06 kB / 0.5679 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.6559, allocations: 202.8 kB / 0.5681 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6559, allocations: 4 kB / 0.5681 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.6559, allocations: 4 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.6562, allocations: 61.61 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6562, allocations: 4 kB / 0.5682 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6562, allocations: 1.219 kB / 0.5682 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.6562, allocations: 0 / 0.5682 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.6564, allocations: 37 kB / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.657, allocations: 316.7 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.6572, allocations: 54.5 kB / 0.5685 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.6572, allocations: 4 kB / 0.5686 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.6572, allocations: 30.56 kB / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.6573, allocations: 0 / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000987/0.6583, allocations: 209.4 kB / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.6583, allocations: 55.41 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.6587, allocations: 206.5 kB / 0.569 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.6587, allocations: 29.7 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.6588, allocations: 162.6 kB / 0.5692 GB, free: 9.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.6589, allocations: 30.38 kB / 0.5692 GB, free: 9.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.6589, allocations: 0 / 0.5692 GB, free: 9.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.659, allocations: 322.8 kB / 0.5695 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.6592, allocations: 23.98 kB / 0.5696 GB, free: 9.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.6593, allocations: 27.98 kB / 0.5696 GB, free: 9.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.6595, allocations: 31.98 kB / 0.5696 GB, free: 9.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6596, allocations: 4 kB / 0.5696 GB, free: 9.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003754/0.66, allocations: 101.6 kB / 0.5697 GB, free: 9.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.66, allocations: 8 kB / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.66, allocations: 0 / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.66, allocations: 0 / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.6602, allocations: 23.98 kB / 0.5698 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.6602, allocations: 3.953 kB / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.6603, allocations: 8 kB / 0.5698 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.6604, allocations: 8.625 kB / 0.5698 GB, free: 9.258 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 (8): * Single equations (assignments): 8 * 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.0001656/0.6606, allocations: 129.8 kB / 0.5699 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.6606, allocations: 15.84 kB / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.6611, allocations: 143.1 kB / 0.5701 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6611, allocations: 0 / 0.5701 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6612, allocations: 0 / 0.5701 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.6612, allocations: 3.953 kB / 0.5701 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.662, allocations: 418.8 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.662, allocations: 4 kB / 0.5705 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.6622, allocations: 19.98 kB / 0.5705 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.6622, allocations: 4 kB / 0.5705 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.6622, allocations: 7.953 kB / 0.5705 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.6623, allocations: 0 / 0.5705 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6623, allocations: 0 / 0.5705 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.6627, allocations: 211.3 kB / 0.5707 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.242e-05/0.6628, allocations: 93 kB / 0.5708 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.6629, allocations: 4.938 kB / 0.5708 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.663, allocations: 11.95 kB / 0.5708 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.6631, allocations: 11.97 kB / 0.5708 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.6631, allocations: 4 kB / 0.5708 GB, free: 8.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.6633, allocations: 174.5 kB / 0.571 GB, free: 7.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6634, allocations: 0 / 0.571 GB, free: 7.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.6637, allocations: 24 kB / 0.571 GB, free: 7.906 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 (8): * Single equations (assignments): 8 * 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.001843/0.6656, allocations: 1.051 MB / 0.572 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.666, allocations: 71.91 kB / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.666, allocations: 0 / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.6662, allocations: 43.91 kB / 0.5721 GB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.6665, allocations: 15.95 kB / 0.5722 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.6687, allocations: 0.8309 MB / 0.573 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.6691, allocations: 0.716 MB / 0.5737 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.6692, allocations: 35.42 kB / 0.5737 GB, free: 5.152 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6692, allocations: 3.938 kB / 0.5737 GB, free: 5.148 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.783/3.452, allocations: 2.365 MB / 0.576 GB, free: 2.781 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat