Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001505/0.001505, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 91.11 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3594/0.3594, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.295e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4052, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.5733, allocations: 88.05 MB / 0.552 GB, free: 11.14 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5736, allocations: 71.95 kB / 0.5521 GB, free: 11.07 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04505/0.6187, allocations: 8.381 MB / 0.5602 GB, free: 2.68 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.6187, allocations: 0 / 0.5602 GB, free: 2.68 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.73e-05/0.6188, allocations: 7.984 kB / 0.5602 GB, free: 2.672 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001181/0.62, allocations: 0.5332 MB / 0.5608 GB, free: 2.094 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.6201, allocations: 8.031 kB / 0.5608 GB, free: 2.086 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.6204, allocations: 39.48 kB / 0.5608 GB, free: 2.047 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.6215, allocations: 343.4 kB / 0.5611 GB, free: 1.672 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.6216, allocations: 12 kB / 0.5611 GB, free: 1.66 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.6216, allocations: 4 kB / 0.5612 GB, free: 1.656 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002698/0.6219, allocations: 47.98 kB / 0.5612 GB, free: 1.609 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.6222, allocations: 81.66 kB / 0.5613 GB, free: 1.523 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6222, allocations: 3.938 kB / 0.5613 GB, free: 1.52 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.6223, allocations: 0 / 0.5613 GB, free: 1.52 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.6223, allocations: 3.953 kB / 0.5613 GB, free: 1.516 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.6238, allocations: 453.1 kB / 0.5617 GB, free: 1.035 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.6241, allocations: 66.5 kB / 0.5618 GB, free: 0.9609 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.6242, allocations: 32.92 kB / 0.5618 GB, free: 0.9258 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-05/0.6243, allocations: 4 kB / 0.5618 GB, free: 0.9219 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.6243, allocations: 30.81 kB / 0.5618 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.058e-06/0.6244, allocations: 0 / 0.5618 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005484/0.6249, allocations: 117.2 kB / 0.562 GB, free: 0.7617 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.625, allocations: 51.41 kB / 0.562 GB, free: 0.6992 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.6263, allocations: 481.2 kB / 0.5625 GB, free: 232 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.6265, allocations: 25.7 kB / 0.5625 GB, free: 200 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.6268, allocations: 238.7 kB / 0.5627 GB, free: 15.95 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.6269, allocations: 11.81 kB / 0.5627 GB, free: 15.94 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.6269, allocations: 0 / 0.5627 GB, free: 15.94 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6271, allocations: 318.8 kB / 0.563 GB, free: 15.62 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.6272, allocations: 23.94 kB / 0.5631 GB, free: 15.6 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.6273, allocations: 23.98 kB / 0.5631 GB, free: 15.57 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.6274, allocations: 23.98 kB / 0.5631 GB, free: 15.55 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-05/0.6275, allocations: 0 / 0.5631 GB, free: 15.55 MB / 411.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002952/0.6278, allocations: 81.61 kB / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.6278, allocations: 7.953 kB / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6279, allocations: 0 / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.6279, allocations: 0 / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.6281, allocations: 19.98 kB / 0.5632 GB, free: 15.44 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6282, allocations: 0 / 0.5632 GB, free: 15.44 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.6284, allocations: 15.84 kB / 0.5632 GB, free: 15.42 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.6285, allocations: 4 kB / 0.5632 GB, free: 15.42 MB / 411.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001217/0.6286, allocations: 108.9 kB / 0.5633 GB, free: 15.3 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000421/0.629, allocations: 113.5 kB / 0.5634 GB, free: 15.19 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6292, allocations: 39.48 kB / 0.5635 GB, free: 15.15 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.6298, allocations: 141.1 kB / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.6298, allocations: 4 kB / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6298, allocations: 4 kB / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6298, allocations: 0 / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/0.6305, allocations: 270.1 kB / 0.5639 GB, free: 14.7 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6305, allocations: 4 kB / 0.5639 GB, free: 14.69 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.6307, allocations: 15.92 kB / 0.5639 GB, free: 14.68 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6308, allocations: 0 / 0.5639 GB, free: 14.68 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.6308, allocations: 7.953 kB / 0.5639 GB, free: 14.67 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.6308, allocations: 0 / 0.5639 GB, free: 14.67 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.6308, allocations: 0 / 0.5639 GB, free: 14.67 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.6313, allocations: 215.1 kB / 0.5641 GB, free: 14.44 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.6317, allocations: 144.6 kB / 0.5642 GB, free: 14.28 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.6318, allocations: 0 / 0.5642 GB, free: 14.28 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.632, allocations: 15.89 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.6321, allocations: 3.984 kB / 0.5643 GB, free: 14.26 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.6321, allocations: 4 kB / 0.5643 GB, free: 14.26 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0009807/0.6331, allocations: 382.9 kB / 0.5646 GB, free: 13.89 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6332, allocations: 0 / 0.5646 GB, free: 13.89 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008511/0.634, allocations: 51.84 kB / 0.5647 GB, free: 13.84 MB / 411.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.003134/0.6372, allocations: 1.144 MB / 0.5658 GB, free: 12.71 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.6376, allocations: 47.92 kB / 0.5658 GB, free: 12.67 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6376, allocations: 0 / 0.5658 GB, free: 12.67 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.6377, allocations: 31.98 kB / 0.5659 GB, free: 12.64 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6388, allocations: 64.47 kB / 0.5659 GB, free: 12.58 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.6413, allocations: 0.6155 MB / 0.5665 GB, free: 11.92 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.6421, allocations: 0.8138 MB / 0.5673 GB, free: 11.08 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/0.6425, allocations: 107.4 kB / 0.5674 GB, free: 10.97 MB / 411.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6426, allocations: 0 / 0.5674 GB, free: 10.97 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.777/3.42, allocations: 5.738 MB / 0.573 GB, free: 5.223 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat