Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",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.002443/0.002442, allocations: 178 kB / 8.362 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.166/2.166, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.00108/0.00108, allocations: 91.56 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.2992/0.2992, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.328e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4127, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.5836, allocations: 87.67 MB / 0.5516 GB, free: 11.53 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.584, allocations: 79.94 kB / 0.5517 GB, free: 11.45 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03979/0.6238, allocations: 8.54 MB / 0.56 GB, free: 2.898 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6239, allocations: 0 / 0.56 GB, free: 2.898 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.86e-05/0.624, allocations: 8 kB / 0.56 GB, free: 2.891 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001213/0.6252, allocations: 0.6265 MB / 0.5606 GB, free: 2.219 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.6253, allocations: 8.031 kB / 0.5607 GB, free: 2.211 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.6255, allocations: 55.3 kB / 0.5607 GB, free: 2.156 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.6269, allocations: 479 kB / 0.5612 GB, free: 1.648 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.6269, allocations: 4 kB / 0.5612 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.627, allocations: 7.906 kB / 0.5612 GB, free: 1.637 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002717/0.6273, allocations: 71.97 kB / 0.5612 GB, free: 1.566 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.6276, allocations: 128.9 kB / 0.5614 GB, free: 1.43 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6276, allocations: 7.938 kB / 0.5614 GB, free: 1.422 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.6277, allocations: 3.953 kB / 0.5614 GB, free: 1.418 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6277, allocations: 0 / 0.5614 GB, free: 1.418 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.6295, allocations: 0.6922 MB / 0.5621 GB, free: 0.6836 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.6298, allocations: 105.2 kB / 0.5622 GB, free: 0.5625 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.63, allocations: 37.83 kB / 0.5622 GB, free: 0.5195 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.63, allocations: 7.969 kB / 0.5622 GB, free: 0.5117 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.462e-05/0.6301, allocations: 38.5 kB / 0.5622 GB, free: 476 kB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/0.6301, allocations: 4 kB / 0.5622 GB, free: 472 kB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001802/0.6319, allocations: 446.1 kB / 0.5627 GB, free: 16 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.632, allocations: 77.11 kB / 0.5627 GB, free: 15.92 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.6337, allocations: 0.7444 MB / 0.5635 GB, free: 15.17 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.6339, allocations: 25.7 kB / 0.5635 GB, free: 15.14 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.6341, allocations: 270.7 kB / 0.5637 GB, free: 14.87 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.6343, allocations: 51.19 kB / 0.5638 GB, free: 14.82 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.6343, allocations: 0 / 0.5638 GB, free: 14.82 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6344, allocations: 326.8 kB / 0.5641 GB, free: 14.49 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.6346, allocations: 43.98 kB / 0.5642 GB, free: 14.45 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.6348, allocations: 61.62 kB / 0.5642 GB, free: 14.38 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.635, allocations: 56.12 kB / 0.5643 GB, free: 14.33 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.635, allocations: 0 / 0.5643 GB, free: 14.33 MB / 411.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000449/0.6355, allocations: 149.5 kB / 0.5644 GB, free: 14.18 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.6355, allocations: 4 kB / 0.5644 GB, free: 14.17 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.6355, allocations: 0 / 0.5644 GB, free: 14.17 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.6355, allocations: 8 kB / 0.5644 GB, free: 14.16 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.636, allocations: 43.91 kB / 0.5645 GB, free: 14.12 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.636, allocations: 0 / 0.5645 GB, free: 14.12 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.6363, allocations: 15.98 kB / 0.5645 GB, free: 14.11 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.6364, allocations: 4 kB / 0.5645 GB, free: 14.1 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001215/0.6365, allocations: 108.9 kB / 0.5646 GB, free: 13.99 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006188/0.6371, allocations: 204.9 kB / 0.5648 GB, free: 13.78 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.6374, allocations: 51.34 kB / 0.5648 GB, free: 13.73 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/0.6382, allocations: 238.6 kB / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.6382, allocations: 0 / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.6382, allocations: 7.938 kB / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.6383, allocations: 7.938 kB / 0.5651 GB, free: 13.47 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.6402, allocations: 0.7948 MB / 0.5658 GB, free: 12.63 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.6403, allocations: 4 kB / 0.5658 GB, free: 12.62 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.6406, allocations: 39.91 kB / 0.5659 GB, free: 12.59 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.6407, allocations: 4 kB / 0.5659 GB, free: 12.58 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.6407, allocations: 15.94 kB / 0.5659 GB, free: 12.57 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.6407, allocations: 4 kB / 0.5659 GB, free: 12.56 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.6408, allocations: 4.312 kB / 0.5659 GB, free: 12.56 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.6415, allocations: 375.8 kB / 0.5663 GB, free: 12.17 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.6419, allocations: 176.4 kB / 0.5664 GB, free: 11.98 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.642, allocations: 3.953 kB / 0.5664 GB, free: 11.97 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.6424, allocations: 23.98 kB / 0.5665 GB, free: 11.95 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.6425, allocations: 11.98 kB / 0.5665 GB, free: 11.94 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.6425, allocations: 7.984 kB / 0.5665 GB, free: 11.93 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001269/0.6438, allocations: 0.5848 MB / 0.5671 GB, free: 11.35 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.6438, allocations: 0 / 0.5671 GB, free: 11.35 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007075/0.6446, allocations: 75.92 kB / 0.5671 GB, free: 11.27 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002068/0.6466, allocations: 1.219 MB / 0.5683 GB, free: 10.07 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.6472, allocations: 123.9 kB / 0.5684 GB, free: 9.953 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6472, allocations: 3.938 kB / 0.5684 GB, free: 9.949 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.6474, allocations: 67.92 kB / 0.5685 GB, free: 9.883 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.6482, allocations: 64.33 kB / 0.5686 GB, free: 9.828 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.6509, allocations: 0.8869 MB / 0.5694 GB, free: 8.887 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.6517, allocations: 0.8809 MB / 0.5703 GB, free: 7.98 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/0.6522, allocations: 175.3 kB / 0.5705 GB, free: 7.809 MB / 411.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6522, allocations: 0 / 0.5705 GB, free: 7.809 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/3.446, allocations: 8.28 MB / 0.5785 GB, free: 15.52 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat