Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",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.0009632/0.0009633, allocations: 96.89 kB / 16.99 MB, free: 6.402 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.001018/0.001018, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 392 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.2416/0.2416, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.001803/0.1243, allocations: 1.267 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.1249, allocations: 383.5 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.125, allocations: 0 / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.1253, allocations: 71.77 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1254, allocations: 51.86 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1258, allocations: 98.38 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.126, allocations: 47.89 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1261, allocations: 20.16 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.1262, allocations: 23.92 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.1263, allocations: 47.81 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1263, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.1264, allocations: 27.94 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.1264, allocations: 15.92 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.1265, allocations: 33.7 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.1266, allocations: 72.16 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1266, allocations: 8 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1266, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1266, allocations: 3.938 kB / 473.7 MB, free: 11.5 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.0003961/0.127, allocations: 391 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1271, allocations: 11.97 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.1271, allocations: 34.56 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1272, allocations: 15.84 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1274, allocations: 186.9 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1275, allocations: 4 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1275, allocations: 11.86 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1277, allocations: 61.66 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1277, allocations: 3.938 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1278, allocations: 0 / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1278, allocations: 0 / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1279, allocations: 31.97 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1283, allocations: 296.8 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1284, allocations: 50.5 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1285, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1285, allocations: 38.56 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1285, allocations: 0 / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009466/0.1294, allocations: 265.2 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.1295, allocations: 55.39 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1298, allocations: 210.2 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1298, allocations: 33.69 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.1298, allocations: 100 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1299, allocations: 27.64 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.1299, allocations: 4 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.13, allocations: 326.8 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.1301, allocations: 27.98 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.1302, allocations: 39.97 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.1303, allocations: 39.98 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1303, allocations: 3.938 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002827/0.1306, allocations: 113.5 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1306, allocations: 8 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1306, allocations: 0 / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1307, allocations: 4 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1308, allocations: 19.98 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1308, allocations: 3.938 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1308, allocations: 15.98 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1308, allocations: 4 kB / 476.1 MB, free: 8.883 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.0001047/0.131, allocations: 134.2 kB / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.131, allocations: 11.91 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.1313, allocations: 138.6 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1313, allocations: 0 / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1314, allocations: 0 / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1314, allocations: 0 / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.1319, allocations: 439.1 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1319, allocations: 0 / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.132, allocations: 24.02 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.132, allocations: 0 / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.132, allocations: 4 kB / 476.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.132, allocations: 3.938 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.132, allocations: 0 / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1323, allocations: 230 kB / 477 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.1324, allocations: 96.91 kB / 477.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1324, allocations: 0 / 477.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.1325, allocations: 4 kB / 477.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1325, allocations: 15.94 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1325, allocations: 4 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1327, allocations: 155.2 kB / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1327, allocations: 0 / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.133, allocations: 20 kB / 477.3 MB, free: 7.512 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.001407/0.1344, allocations: 1.183 MB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.1347, allocations: 83.89 kB / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1347, allocations: 0 / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1348, allocations: 43.97 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1351, allocations: 27.14 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1362, allocations: 0.7715 MB / 479.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1365, allocations: 0.7157 MB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.36e-05/0.1367, allocations: 20.66 kB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.1368, allocations: 39.36 kB / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1368, allocations: 0 / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.1498, allocations: 2.603 MB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.15, allocations: 214 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.897, allocations: 0 / 483 MB, free: 1.977 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat does not exist to compare? outputFormat=mat