Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 173.8 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.7 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3909/0.3909, allocations: 43.54 MB / 314.5 MB, free: 8.609 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007092/0.0007092, allocations: 20 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.124, allocations: 58.85 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001643/0.1257, allocations: 1.307 MB / 444.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004965/0.1262, allocations: 299.8 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.1262, allocations: 0 / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.1267, allocations: 443.2 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.127, allocations: 235.5 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1273, allocations: 135.8 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1275, allocations: 115.7 kB / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.1276, allocations: 20.45 kB / 445.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.1277, allocations: 103.8 kB / 445.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1279, allocations: 139.7 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1279, allocations: 4 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.1279, allocations: 23.92 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.128, allocations: 83.69 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1281, allocations: 65.52 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1283, allocations: 187.7 kB / 446 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1283, allocations: 0 / 446 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1283, allocations: 0 / 446 MB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.1283, allocations: 4 kB / 446 MB, free: 9.863 MB / 382.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.000593/0.1289, allocations: 0.5948 MB / 446.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1289, allocations: 12.03 kB / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.129, allocations: 30.56 kB / 446.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.129, allocations: 47.39 kB / 446.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1293, allocations: 279.4 kB / 446.9 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1293, allocations: 8 kB / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1294, allocations: 0 / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1295, allocations: 57.62 kB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1295, allocations: 0 / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1295, allocations: 0 / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1295, allocations: 4 kB / 447 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.1296, allocations: 39.86 kB / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.1301, allocations: 404.6 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.1303, allocations: 42.56 kB / 447.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1304, allocations: 8.078 kB / 447.5 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1304, allocations: 42.45 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1304, allocations: 0 / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005727/0.131, allocations: 244.2 kB / 447.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.131, allocations: 55.41 kB / 447.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.1318, allocations: 0.8691 MB / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1318, allocations: 25.7 kB / 448.7 MB, free: 6.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.132, allocations: 220.1 kB / 448.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.132, allocations: 23.64 kB / 448.9 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.132, allocations: 4 kB / 448.9 MB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1321, allocations: 358.8 kB / 449.3 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.1322, allocations: 23.98 kB / 449.3 MB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.1323, allocations: 23.98 kB / 449.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.1324, allocations: 32.16 kB / 449.4 MB, free: 6.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1324, allocations: 0 / 449.4 MB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002012/0.1326, allocations: 133.2 kB / 449.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1326, allocations: 11.95 kB / 449.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1326, allocations: 0 / 449.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1327, allocations: 0 / 449.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.1327, allocations: 23.86 kB / 449.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1327, allocations: 4 kB / 449.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.1328, allocations: 4 kB / 449.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1328, allocations: 4 kB / 449.6 MB, free: 6.051 MB / 382.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001752/0.133, allocations: 217.8 kB / 449.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.1331, allocations: 39.44 kB / 449.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.1333, allocations: 161 kB / 450 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1334, allocations: 0 / 450 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1334, allocations: 0 / 450 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1334, allocations: 0 / 450 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1339, allocations: 478.4 kB / 450.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1339, allocations: 3.953 kB / 450.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.134, allocations: 15.98 kB / 450.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.134, allocations: 0 / 450.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.134, allocations: 4 kB / 450.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.134, allocations: 0 / 450.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.134, allocations: 3.938 kB / 450.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1343, allocations: 235.1 kB / 450.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.1344, allocations: 120.5 kB / 450.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1344, allocations: 0 / 450.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.1345, allocations: 8 kB / 450.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1345, allocations: 7.984 kB / 450.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1345, allocations: 4 kB / 450.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005761/0.1351, allocations: 0.655 MB / 451.5 MB, free: 4.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1351, allocations: 0 / 451.5 MB, free: 4.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1354, allocations: 24 kB / 451.5 MB, free: 3.996 MB / 382.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001348/0.1367, allocations: 1.074 MB / 452.6 MB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1369, allocations: 51.97 kB / 452.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.137, allocations: 4 kB / 452.6 MB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.137, allocations: 35.98 kB / 452.7 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.1373, allocations: 22.23 kB / 452.7 MB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.14, allocations: 2.248 MB / 454.9 MB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.204/0.344, allocations: 0.8263 MB / 455.8 MB, free: 45.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.3442, allocations: 13.91 kB / 455.8 MB, free: 45.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.3444, allocations: 114.9 kB / 455.9 MB, free: 45.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3444, allocations: 0 / 455.9 MB, free: 45.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.3618, allocations: 5.409 MB / 461.3 MB, free: 45.61 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.362, allocations: 218.1 kB / 461.5 MB, free: 45.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.286, allocations: 7.938 kB / 461.5 MB, free: 45.36 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat