Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.0007592/0.0007594, allocations: 100 kB / 17 MB, free: 6.113 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.0007916/0.0007917, allocations: 183.2 kB / 17.89 MB, free: 5.703 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.3 MB / 241.9 MB, free: 348 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.2107/0.2107, allocations: 44.23 MB / 337.2 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001953/0.1237, allocations: 1.302 MB / 473 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.1245, allocations: 395.6 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.1245, allocations: 4 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1248, allocations: 83.8 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.125, allocations: 63.8 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1253, allocations: 103.3 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1254, allocations: 79.8 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1255, allocations: 23.98 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.1256, allocations: 31.91 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1257, allocations: 47.83 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1257, allocations: 0 / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.1258, allocations: 43.91 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.1259, allocations: 27.86 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1259, allocations: 37.64 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1261, allocations: 92.08 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1261, allocations: 0 / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1261, allocations: 0 / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1261, allocations: 0 / 474 MB, free: 11.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004566/0.1266, allocations: 414.9 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1266, allocations: 8.031 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.1267, allocations: 38.55 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.1267, allocations: 15.81 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1269, allocations: 198.8 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1269, allocations: 11.98 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.127, allocations: 7.953 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1271, allocations: 73.67 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1272, allocations: 7.984 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1272, allocations: 7.938 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1272, allocations: 0 / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1273, allocations: 47.91 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1278, allocations: 356.6 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1279, allocations: 62.55 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.128, allocations: 28.84 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1281, allocations: 0 / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1281, allocations: 34.5 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.1281, allocations: 4 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001052/0.1291, allocations: 361.5 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1292, allocations: 59.36 kB / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1294, allocations: 231.2 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1295, allocations: 29.7 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.1296, allocations: 112.1 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.1296, allocations: 39.36 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1296, allocations: 4 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1297, allocations: 326.8 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-05/0.1298, allocations: 43.97 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.13, allocations: 51.97 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1301, allocations: 62.55 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1301, allocations: 0 / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002671/0.1303, allocations: 165.4 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1304, allocations: 4 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1304, allocations: 0 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1304, allocations: 0 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1305, allocations: 27.98 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1305, allocations: 3.953 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.1306, allocations: 12 kB / 476.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1306, allocations: 4 kB / 476.8 MB, free: 8.297 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 (13): * Single equations (assignments): 13 * 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.0001097/0.1307, allocations: 138.3 kB / 476.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1308, allocations: 19.75 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.1311, allocations: 191.1 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1311, allocations: 0 / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1311, allocations: 4 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1311, allocations: 3.953 kB / 477.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.1317, allocations: 0.4952 MB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1318, allocations: 8.031 kB / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.1319, allocations: 31.98 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1319, allocations: 3.953 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1319, allocations: 4 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1319, allocations: 0 / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1319, allocations: 0 / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.1322, allocations: 268 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1323, allocations: 92.94 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1323, allocations: 11.95 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1324, allocations: 4 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.1324, allocations: 7.984 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1324, allocations: 12 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1326, allocations: 175.2 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1326, allocations: 0 / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1328, allocations: 20 kB / 478.2 MB, free: 6.719 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 (13): * Single equations (assignments): 13 * 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.001516/0.1344, allocations: 1.145 MB / 479.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.1346, allocations: 123.8 kB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1346, allocations: 0 / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1348, allocations: 59.97 kB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1351, allocations: 35.92 kB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1365, allocations: 0.9369 MB / 480.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1368, allocations: 0.7316 MB / 481.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.1369, allocations: 20.55 kB / 481.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.137, allocations: 43.42 kB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.137, allocations: 0 / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1498, allocations: 3.034 MB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.15, allocations: 236.6 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.037, allocations: 0 / 484.6 MB, free: 0.5391 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat does not exist to compare? outputFormat=mat