Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001001/0.001001, allocations: 95.47 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 180.9 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003215, allocations: 12 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 61.91 MB / 471.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002216/0.1413, allocations: 1.278 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.1421, allocations: 371.6 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.1422, allocations: 0 / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1425, allocations: 71.78 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1427, allocations: 51.86 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.143, allocations: 95.27 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1432, allocations: 55.86 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1434, allocations: 16.17 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.1434, allocations: 23.92 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1436, allocations: 43.83 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1436, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.1437, allocations: 31.92 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.1438, allocations: 19.92 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1438, allocations: 33.7 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.144, allocations: 72.16 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.144, allocations: 4 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.87e-06/0.144, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.144, allocations: 7.875 kB / 473.7 MB, free: 11.51 MB / 350.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.0006621/0.1447, allocations: 395 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.1448, allocations: 8.031 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.1448, allocations: 30.56 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.1449, allocations: 15.84 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1451, allocations: 190.9 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1451, allocations: 4 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.1452, allocations: 11.86 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1454, allocations: 53.67 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1454, allocations: 3.938 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1454, allocations: 4 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1454, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1455, allocations: 31.98 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.146, allocations: 296.8 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1461, allocations: 54.5 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1461, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1462, allocations: 38.56 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1462, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00097/0.1472, allocations: 273.5 kB / 475.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1472, allocations: 51.41 kB / 475.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1474, allocations: 206.2 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1474, allocations: 25.7 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.1475, allocations: 108 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1476, allocations: 27.64 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1476, allocations: 0 / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1477, allocations: 330.8 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.1478, allocations: 31.98 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.1479, allocations: 35.97 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.148, allocations: 35.98 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.148, allocations: 7.938 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002164/0.1482, allocations: 117.5 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1483, allocations: 4 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1483, allocations: 0 / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1483, allocations: 4 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1484, allocations: 19.98 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1484, allocations: 7.938 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.1485, allocations: 4 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1485, allocations: 4 kB / 476.1 MB, free: 8.906 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001149/0.1486, allocations: 134.2 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1486, allocations: 11.91 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.149, allocations: 142.6 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.149, allocations: 0 / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.149, allocations: 3.938 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.149, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.1495, allocations: 435.2 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1495, allocations: 0 / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.1496, allocations: 16 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1496, allocations: 0 / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1496, allocations: 11.98 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1497, allocations: 3.938 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1497, allocations: 0 / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.1499, allocations: 230 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.15, allocations: 92.91 kB / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.15, allocations: 4 kB / 477.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.1501, allocations: 8 kB / 477.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.1502, allocations: 11.94 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1502, allocations: 4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1503, allocations: 155.2 kB / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1503, allocations: 0 / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1506, allocations: 20 kB / 477.3 MB, free: 7.531 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001696/0.1523, allocations: 1.187 MB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1525, allocations: 83.89 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1525, allocations: 0 / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.653e-05/0.1527, allocations: 43.97 kB / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.1529, allocations: 24.25 kB / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1544, allocations: 0.7755 MB / 479.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.1548, allocations: 0.7157 MB / 480.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.575e-05/0.1549, allocations: 12.66 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.155, allocations: 35.42 kB / 480.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.155, allocations: 4 kB / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.1707, allocations: 2.602 MB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.1709, allocations: 218 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.032, allocations: 0 / 483 MB, free: 1.996 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat does not exist to compare? outputFormat=mat