Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",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.0022/0.0022, allocations: 177.8 kB / 8.36 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.174/2.174, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001099/0.001099, allocations: 90.75 kB / 262.1 MB, free: 13.86 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.305/0.305, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.762e-05, allocations: 4.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4043, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.5723, allocations: 87.22 MB / 0.5512 GB, free: 11.98 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5726, allocations: 71.97 kB / 0.5512 GB, free: 11.91 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03982/0.6125, allocations: 8.738 MB / 0.5598 GB, free: 3.141 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6125, allocations: 0 / 0.5598 GB, free: 3.141 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.641e-05/0.6126, allocations: 8 kB / 0.5598 GB, free: 3.133 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.001313/0.6139, allocations: 0.6517 MB / 0.5604 GB, free: 2.438 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.614, allocations: 11.97 kB / 0.5604 GB, free: 2.426 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.6142, allocations: 59.25 kB / 0.5605 GB, free: 2.367 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.6154, allocations: 471 kB / 0.5609 GB, free: 1.867 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.6155, allocations: 4 kB / 0.5609 GB, free: 1.863 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.6155, allocations: 8 kB / 0.561 GB, free: 1.855 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002454/0.6158, allocations: 59.98 kB / 0.561 GB, free: 1.797 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.6161, allocations: 115.2 kB / 0.5611 GB, free: 1.672 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6161, allocations: 3.984 kB / 0.5611 GB, free: 1.668 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.6161, allocations: 7.953 kB / 0.5611 GB, free: 1.66 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.6162, allocations: 0 / 0.5611 GB, free: 1.66 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.618, allocations: 0.6962 MB / 0.5618 GB, free: 0.9219 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.6183, allocations: 105.2 kB / 0.5619 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.6184, allocations: 37.84 kB / 0.5619 GB, free: 0.7578 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.6185, allocations: 7.984 kB / 0.562 GB, free: 0.75 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.6185, allocations: 30.56 kB / 0.562 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/0.6185, allocations: 0 / 0.562 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of matching and sorting (n=20): time 0.002313/0.6208, allocations: 0.5175 MB / 0.5625 GB, free: 188 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.6209, allocations: 81.11 kB / 0.5626 GB, free: 88 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.6227, allocations: 0.7599 MB / 0.5633 GB, free: 15.32 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.6228, allocations: 25.7 kB / 0.5633 GB, free: 15.29 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.6231, allocations: 262.8 kB / 0.5636 GB, free: 15.03 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.6232, allocations: 67 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.6232, allocations: 0 / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6234, allocations: 322.8 kB / 0.564 GB, free: 14.64 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.6235, allocations: 51.98 kB / 0.564 GB, free: 14.59 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.6238, allocations: 73.7 kB / 0.5641 GB, free: 14.51 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.624, allocations: 56.11 kB / 0.5641 GB, free: 14.46 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.624, allocations: 0 / 0.5641 GB, free: 14.46 MB / 411.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000539/0.6245, allocations: 181.8 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6246, allocations: 4 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.6246, allocations: 0 / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6246, allocations: 4 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.6252, allocations: 67.91 kB / 0.5644 GB, free: 14.2 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6252, allocations: 4 kB / 0.5644 GB, free: 14.2 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.6257, allocations: 31.97 kB / 0.5644 GB, free: 14.16 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6258, allocations: 4 kB / 0.5644 GB, free: 14.16 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 (20): * Single equations (assignments): 20 * 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.0001274/0.6259, allocations: 104.9 kB / 0.5645 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006946/0.6266, allocations: 220.9 kB / 0.5647 GB, free: 13.83 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.6268, allocations: 59.25 kB / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008917/0.6277, allocations: 282.4 kB / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6278, allocations: 4 kB / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6278, allocations: 224 / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6278, allocations: 3.984 kB / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.6299, allocations: 0.8492 MB / 0.5659 GB, free: 12.58 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.63, allocations: 4 kB / 0.5659 GB, free: 12.58 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.6305, allocations: 63.89 kB / 0.566 GB, free: 12.52 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.6305, allocations: 0 / 0.566 GB, free: 12.52 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.6306, allocations: 7.984 kB / 0.566 GB, free: 12.51 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6306, allocations: 0 / 0.566 GB, free: 12.51 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.6306, allocations: 3.984 kB / 0.566 GB, free: 12.5 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008113/0.6314, allocations: 422.9 kB / 0.5664 GB, free: 12.07 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.6318, allocations: 180.4 kB / 0.5665 GB, free: 11.88 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/0.6319, allocations: 7.984 kB / 0.5665 GB, free: 11.87 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.6324, allocations: 27.98 kB / 0.5666 GB, free: 11.84 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.6325, allocations: 15.97 kB / 0.5666 GB, free: 11.82 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.6326, allocations: 7.984 kB / 0.5666 GB, free: 11.82 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.6339, allocations: 0.5887 MB / 0.5672 GB, free: 11.23 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6339, allocations: 0 / 0.5672 GB, free: 11.23 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007103/0.6346, allocations: 75.98 kB / 0.5672 GB, free: 11.16 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 (20): * Single equations (assignments): 20 * 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.002158/0.6368, allocations: 1.244 MB / 0.5685 GB, free: 9.93 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.6374, allocations: 143.9 kB / 0.5686 GB, free: 9.789 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6375, allocations: 0 / 0.5686 GB, free: 9.789 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.6378, allocations: 95.86 kB / 0.5687 GB, free: 9.695 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008507/0.6386, allocations: 58.86 kB / 0.5687 GB, free: 9.637 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.6415, allocations: 0.883 MB / 0.5696 GB, free: 8.703 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.6423, allocations: 0.8847 MB / 0.5705 GB, free: 7.793 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.6429, allocations: 191.2 kB / 0.5707 GB, free: 7.605 MB / 411.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6429, allocations: 0 / 0.5707 GB, free: 7.605 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.986/3.629, allocations: 8.544 MB / 0.579 GB, free: 15.05 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat