Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001477/0.001477, allocations: 178.4 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.381/2.381, 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.001894/0.001894, allocations: 99.3 kB / 262.1 MB, free: 13.88 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.3056/0.3056, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.82e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4322, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.6043, allocations: 86.47 MB / 0.5504 GB, free: 12.73 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.6046, allocations: 79.45 kB / 0.5505 GB, free: 12.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.6226, allocations: 4.251 MB / 0.5547 GB, free: 8.398 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6227, allocations: 0 / 0.5547 GB, free: 8.398 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.885e-05/0.6227, allocations: 4 kB / 0.5547 GB, free: 8.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006205/0.6233, allocations: 391.4 kB / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.6234, allocations: 8.031 kB / 0.5551 GB, free: 7.961 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.6235, allocations: 11.86 kB / 0.5551 GB, free: 7.949 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.6239, allocations: 222.6 kB / 0.5553 GB, free: 7.691 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.624, allocations: 4 kB / 0.5553 GB, free: 7.688 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.624, allocations: 0 / 0.5553 GB, free: 7.688 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001315/0.6241, allocations: 16 kB / 0.5553 GB, free: 7.672 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.6243, allocations: 49.69 kB / 0.5553 GB, free: 7.617 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6243, allocations: 0 / 0.5553 GB, free: 7.617 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.6243, allocations: 0 / 0.5553 GB, free: 7.617 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.6243, allocations: 0 / 0.5553 GB, free: 7.617 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.625, allocations: 297.3 kB / 0.5556 GB, free: 7.289 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.6251, allocations: 42.52 kB / 0.5557 GB, free: 7.238 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.6252, allocations: 16.86 kB / 0.5557 GB, free: 7.219 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.6253, allocations: 0 / 0.5557 GB, free: 7.219 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6253, allocations: 34.56 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.6253, allocations: 0 / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007044/0.626, allocations: 165.2 kB / 0.5559 GB, free: 7.008 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.6261, allocations: 51.41 kB / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.6263, allocations: 168.2 kB / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.6264, allocations: 25.7 kB / 0.5561 GB, free: 6.746 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.6265, allocations: 162.6 kB / 0.5563 GB, free: 6.586 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.6265, allocations: 19.7 kB / 0.5563 GB, free: 6.566 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.6265, allocations: 0 / 0.5563 GB, free: 6.566 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6267, allocations: 322.8 kB / 0.5566 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.6268, allocations: 23.98 kB / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.6268, allocations: 16 kB / 0.5566 GB, free: 6.203 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.6269, allocations: 23.98 kB / 0.5566 GB, free: 6.18 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6269, allocations: 0 / 0.5566 GB, free: 6.18 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000194/0.6271, allocations: 81.53 kB / 0.5567 GB, free: 6.094 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6272, allocations: 4 kB / 0.5567 GB, free: 6.09 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.6272, allocations: 3.984 kB / 0.5567 GB, free: 6.086 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6272, allocations: 4 kB / 0.5567 GB, free: 6.082 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.6274, allocations: 23.98 kB / 0.5568 GB, free: 6.059 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6274, allocations: 3.953 kB / 0.5568 GB, free: 6.055 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.6276, allocations: 19.92 kB / 0.5568 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.6276, allocations: 0 / 0.5568 GB, free: 6.035 MB / 395.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 (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.0001097/0.6277, allocations: 104.9 kB / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002038/0.628, allocations: 85.58 kB / 0.557 GB, free: 5.836 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.628, allocations: 7.906 kB / 0.557 GB, free: 5.828 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.6283, allocations: 114.5 kB / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6283, allocations: 0 / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6284, allocations: 0 / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6284, allocations: 0 / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.6289, allocations: 363 kB / 0.5574 GB, free: 5.309 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.629, allocations: 3.938 kB / 0.5574 GB, free: 5.305 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.6291, allocations: 19.98 kB / 0.5575 GB, free: 5.285 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.6292, allocations: 11.95 kB / 0.5575 GB, free: 5.273 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.6292, allocations: 0 / 0.5575 GB, free: 5.273 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.6292, allocations: 3.984 kB / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6292, allocations: 0 / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.6295, allocations: 175.5 kB / 0.5576 GB, free: 5.082 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.6296, allocations: 93 kB / 0.5577 GB, free: 4.973 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.6296, allocations: 3.953 kB / 0.5577 GB, free: 4.969 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.6298, allocations: 19.98 kB / 0.5577 GB, free: 4.949 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.6298, allocations: 7.984 kB / 0.5578 GB, free: 4.941 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.6299, allocations: 4 kB / 0.5578 GB, free: 4.938 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.63, allocations: 136.1 kB / 0.5579 GB, free: 4.805 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.63, allocations: 0 / 0.5579 GB, free: 4.805 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.6304, allocations: 27.94 kB / 0.5579 GB, free: 4.777 MB / 395.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 (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.001519/0.6319, allocations: 0.9463 MB / 0.5588 GB, free: 3.852 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.6322, allocations: 51.92 kB / 0.5589 GB, free: 3.801 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6322, allocations: 0 / 0.5589 GB, free: 3.801 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.6323, allocations: 31.98 kB / 0.5589 GB, free: 3.77 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.6326, allocations: 23.38 kB / 0.5589 GB, free: 3.75 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.6334, allocations: 255.4 kB / 0.5592 GB, free: 3.453 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.6337, allocations: 0.7196 MB / 0.5599 GB, free: 2.707 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6339, allocations: 27.38 kB / 0.5599 GB, free: 2.68 MB / 395.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6339, allocations: 0 / 0.5599 GB, free: 2.68 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.691/3.325, allocations: 2.308 MB / 0.5622 GB, free: 384 kB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat does not exist to compare? outputFormat=mat