Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001026/0.001025, allocations: 96.67 kB / 15.69 MB, free: 480 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.001092/0.001093, allocations: 176.2 kB / 16.57 MB, free: 6.391 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.565/1.565, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3292/0.3292, allocations: 43.55 MB / 314.5 MB, free: 8.977 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.0005084/0.0005085, allocations: 23.98 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 58.84 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.002053/0.132, allocations: 1.264 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.1327, allocations: 291.7 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.1327, allocations: 0 / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.133, allocations: 71.78 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1331, allocations: 55.86 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1334, allocations: 79.83 kB / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.1335, allocations: 43.89 kB / 444.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.1336, allocations: 12.25 kB / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1337, allocations: 27.91 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.1338, allocations: 35.84 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1338, allocations: 4 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.893e-05/0.1339, allocations: 27.97 kB / 444.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.1339, allocations: 15.98 kB / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.134, allocations: 33.64 kB / 444.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1341, allocations: 63.78 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1341, allocations: 4 kB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1341, allocations: 0 / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1341, allocations: 4 kB / 444.9 MB, free: 11.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00047/0.1346, allocations: 382.9 kB / 445.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1346, allocations: 16.03 kB / 445.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.1347, allocations: 30.56 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1347, allocations: 15.86 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1349, allocations: 190.9 kB / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1349, allocations: 4 kB / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.135, allocations: 3.984 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1351, allocations: 45.69 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1351, allocations: 4 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1351, allocations: 0 / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1351, allocations: 7.953 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.1352, allocations: 31.91 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.1356, allocations: 281 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1358, allocations: 50.55 kB / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1359, allocations: 0 / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1359, allocations: 38.56 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1359, allocations: 3.938 kB / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005966/0.1365, allocations: 177.2 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1366, allocations: 55.34 kB / 446.2 MB, free: 9.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1368, allocations: 206.2 kB / 446.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1369, allocations: 25.7 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.137, allocations: 104.1 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.137, allocations: 23.72 kB / 446.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.137, allocations: 0 / 446.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1372, allocations: 322.8 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.1373, allocations: 23.98 kB / 446.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.1373, allocations: 19.98 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.469e-05/0.1374, allocations: 35.98 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1374, allocations: 0 / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001841/0.1376, allocations: 89.56 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1376, allocations: 7.953 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1377, allocations: 0 / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1377, allocations: 8 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.1378, allocations: 15.92 kB / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1378, allocations: 4 kB / 447 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.1378, allocations: 11.94 kB / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1378, allocations: 0 / 447 MB, free: 8.754 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.000107/0.1379, allocations: 129.8 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.138, allocations: 7.906 kB / 447.2 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1382, allocations: 113.9 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1382, allocations: 0 / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1382, allocations: 0 / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1383, allocations: 0 / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.1387, allocations: 378.4 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1387, allocations: 0 / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.1388, allocations: 20.31 kB / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1388, allocations: 0 / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1388, allocations: 0 / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1388, allocations: 8 kB / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1388, allocations: 0 / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.139, allocations: 191.4 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.1391, allocations: 89.02 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1391, allocations: 3.953 kB / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1392, allocations: 19.92 kB / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1392, allocations: 0 / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1393, allocations: 0 / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1394, allocations: 164 kB / 448.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1394, allocations: 0 / 448.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1396, allocations: 20 kB / 448.2 MB, free: 7.527 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.001311/0.1409, allocations: 1.024 MB / 449.2 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1412, allocations: 59.95 kB / 449.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1412, allocations: 0 / 449.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.1413, allocations: 27.98 kB / 449.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1415, allocations: 19.94 kB / 449.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1426, allocations: 0.6913 MB / 450 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.143, allocations: 0.7043 MB / 450.7 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1431, allocations: 15.97 kB / 450.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1432, allocations: 35.36 kB / 450.7 MB, free: 4.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1432, allocations: 0 / 450.7 MB, free: 4.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.1556, allocations: 2.303 MB / 453 MB, free: 2.594 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.1558, allocations: 210.1 kB / 453.2 MB, free: 2.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.001, allocations: 3.938 kB / 453.3 MB, free: 2.352 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat does not exist to compare? outputFormat=mat