Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001625/0.001624, allocations: 185.9 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.051/2.051, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001222/0.001222, allocations: 92.42 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.5336/0.5336, allocations: 43.55 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 16 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6113, allocations: 87.21 MB / 0.564 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.6116, allocations: 71.95 kB / 0.5641 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01851/0.6302, allocations: 4.238 MB / 0.5682 GB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6302, allocations: 0 / 0.5682 GB, free: 10.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.6302, allocations: 0 / 0.5682 GB, free: 10.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006764/0.6309, allocations: 417.9 kB / 0.5686 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.631, allocations: 8.031 kB / 0.5686 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.6311, allocations: 30.56 kB / 0.5686 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.6311, allocations: 11.34 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.6315, allocations: 207.9 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.6315, allocations: 1.219 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.6315, allocations: 4 kB / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.6318, allocations: 61.67 kB / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6319, allocations: 4.531 kB / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.6319, allocations: 1.031 kB / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6319, allocations: 0 / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.6322, allocations: 51.97 kB / 0.569 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.6329, allocations: 320.7 kB / 0.5693 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.6331, allocations: 58.48 kB / 0.5693 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.6332, allocations: 4 kB / 0.5693 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.6332, allocations: 30.56 kB / 0.5694 GB, free: 9.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.6333, allocations: 0 / 0.5694 GB, free: 9.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001412/0.6347, allocations: 265.2 kB / 0.5696 GB, free: 9.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.6348, allocations: 58.22 kB / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.635, allocations: 153.6 kB / 0.5698 GB, free: 9.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.6351, allocations: 25.7 kB / 0.5698 GB, free: 9.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.6352, allocations: 170.5 kB / 0.57 GB, free: 8.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.6352, allocations: 27.64 kB / 0.57 GB, free: 8.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.6353, allocations: 0 / 0.57 GB, free: 8.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6354, allocations: 318.8 kB / 0.5703 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.6357, allocations: 43.91 kB / 0.5704 GB, free: 8.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.6359, allocations: 51.95 kB / 0.5704 GB, free: 8.438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.6362, allocations: 48.03 kB / 0.5705 GB, free: 8.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6362, allocations: 0 / 0.5705 GB, free: 8.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005777/0.6368, allocations: 134.4 kB / 0.5706 GB, free: 8.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6368, allocations: 4 kB / 0.5706 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6368, allocations: 0 / 0.5706 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.6369, allocations: 11.95 kB / 0.5706 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.6371, allocations: 20.73 kB / 0.5706 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6371, allocations: 3.984 kB / 0.5706 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.6373, allocations: 12 kB / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.6373, allocations: 0 / 0.5707 GB, free: 8.203 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 (7): * Single equations (assignments): 7 * 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.0001631/0.6375, allocations: 137.8 kB / 0.5708 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.6375, allocations: 11.91 kB / 0.5708 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006416/0.6382, allocations: 155.2 kB / 0.5709 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6382, allocations: 7.953 kB / 0.571 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6382, allocations: 4 kB / 0.571 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6382, allocations: 0 / 0.571 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.6392, allocations: 438.6 kB / 0.5714 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6393, allocations: 0 / 0.5714 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.6395, allocations: 23.98 kB / 0.5714 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.6395, allocations: 3.953 kB / 0.5714 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6395, allocations: 4 kB / 0.5714 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.6395, allocations: 4.875 kB / 0.5714 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6395, allocations: 7.984 kB / 0.5714 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.6402, allocations: 243.3 kB / 0.5716 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.6403, allocations: 89 kB / 0.5717 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.6403, allocations: 7.953 kB / 0.5717 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.6405, allocations: 15.98 kB / 0.5718 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.6406, allocations: 7.984 kB / 0.5718 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6406, allocations: 0 / 0.5718 GB, free: 6.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000232/0.6408, allocations: 137.5 kB / 0.5719 GB, free: 6.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6409, allocations: 0 / 0.5719 GB, free: 6.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.6412, allocations: 31.88 kB / 0.5719 GB, free: 6.801 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 (7): * Single equations (assignments): 7 * 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.002171/0.6434, allocations: 1.068 MB / 0.573 GB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.6441, allocations: 111.9 kB / 0.5731 GB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6441, allocations: 0 / 0.5731 GB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.6444, allocations: 59.91 kB / 0.5731 GB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.6447, allocations: 15.94 kB / 0.5731 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.647, allocations: 0.8053 MB / 0.5739 GB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.6475, allocations: 0.7043 MB / 0.5746 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6476, allocations: 35.42 kB / 0.5747 GB, free: 4.008 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.6476, allocations: 0 / 0.5747 GB, free: 4.008 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.732/3.379, allocations: 2.235 MB / 0.5768 GB, free: 1.773 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat