Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.00102/0.00102, allocations: 97.41 kB / 17 MB, free: 6.418 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.001087/0.001087, allocations: 188.7 kB / 17.89 MB, free: 5.945 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.452/1.452, allocations: 223.2 MB / 241.9 MB, free: 248 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.2159/0.2159, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001989/0.1296, allocations: 1.282 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.1303, allocations: 371.6 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.1304, allocations: 0 / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.1308, allocations: 87.8 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.131, allocations: 67.8 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1313, allocations: 79.2 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1314, allocations: 55.83 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.1315, allocations: 16.17 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.1316, allocations: 39.89 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.1317, allocations: 39.83 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1317, allocations: 0 / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.1318, allocations: 35.98 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.1318, allocations: 23.92 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1319, allocations: 33.64 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.132, allocations: 76.16 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.132, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.132, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.132, allocations: 0 / 473.8 MB, free: 11.45 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.000475/0.1325, allocations: 402.9 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1326, allocations: 8.031 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.1326, allocations: 42.55 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.1327, allocations: 11.81 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1329, allocations: 195.5 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1329, allocations: 0 / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1329, allocations: 11.94 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1331, allocations: 53.67 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1331, allocations: 4 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1331, allocations: 0 / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1331, allocations: 4 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.1332, allocations: 27.97 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.1336, allocations: 296.7 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1337, allocations: 50.56 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.1338, allocations: 16.86 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1338, allocations: 4.078 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1338, allocations: 30.56 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1338, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008205/0.1347, allocations: 249.1 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1347, allocations: 55.39 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1349, allocations: 220 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1349, allocations: 33.7 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.135, allocations: 108 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.135, allocations: 39.64 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.1351, allocations: 0 / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1352, allocations: 330.8 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.1353, allocations: 23.98 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.1354, allocations: 31.92 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.177e-05/0.1354, allocations: 31.98 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1354, allocations: 0 / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002016/0.1357, allocations: 113.5 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1357, allocations: 6.5 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1357, allocations: 0 / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1357, allocations: 4 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.1358, allocations: 23.92 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1358, allocations: 0 / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.1359, allocations: 12 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1359, allocations: 0 / 476.2 MB, free: 8.824 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.000101/0.136, allocations: 130.3 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.136, allocations: 7.906 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.1363, allocations: 147.6 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1363, allocations: 4 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1363, allocations: 0 / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1363, allocations: 0 / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.1368, allocations: 411.3 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1369, allocations: 3.984 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.1369, allocations: 19.98 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1369, allocations: 0 / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.1369, allocations: 4 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.137, allocations: 8.031 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.137, allocations: 3.953 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1372, allocations: 212.1 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1373, allocations: 89.02 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1373, allocations: 4 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.1374, allocations: 11.98 kB / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1374, allocations: 7.953 kB / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1374, allocations: 0 / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1376, allocations: 175.5 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 0 / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1378, allocations: 24 kB / 477.5 MB, free: 7.48 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.00141/0.1392, allocations: 1.096 MB / 478.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1394, allocations: 71.95 kB / 478.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1394, allocations: 0 / 478.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.1395, allocations: 40.08 kB / 478.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1398, allocations: 19.11 kB / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1411, allocations: 0.7906 MB / 479.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1414, allocations: 0.7121 MB / 480.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.1414, allocations: 8.672 kB / 480.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.1415, allocations: 35.42 kB / 480.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1415, allocations: 0 / 480.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.1556, allocations: 2.651 MB / 482.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.1558, allocations: 229.5 kB / 483.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.106, allocations: 0 / 483.1 MB, free: 2.012 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat