Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.0009679/0.0009679, allocations: 94.03 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.001099/0.001099, allocations: 183.1 kB / 17.88 MB, free: 5.574 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.383/1.383, allocations: 223.2 MB / 241.9 MB, free: 344 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.2152/0.2152, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 9 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00175/0.1281, allocations: 1.333 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.1289, allocations: 411.5 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.1289, allocations: 4 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1292, allocations: 67.83 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1293, allocations: 51.81 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1297, allocations: 161.6 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.1298, allocations: 71.8 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.1299, allocations: 16 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.13, allocations: 35.84 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1301, allocations: 47.81 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1301, allocations: 0 / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.1302, allocations: 36 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.1303, allocations: 27.91 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.1303, allocations: 37.64 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1304, allocations: 84.03 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1305, allocations: 0 / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1305, allocations: 0 / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1305, allocations: 4 kB / 474 MB, free: 11.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004933/0.131, allocations: 425 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.131, allocations: 8.031 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1311, allocations: 30.56 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.1311, allocations: 15.84 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1313, allocations: 195.6 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1313, allocations: 4 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1313, allocations: 15.94 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1315, allocations: 65.67 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.1315, allocations: 3.984 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1316, allocations: 4 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1316, allocations: 0 / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1317, allocations: 51.91 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.1322, allocations: 332.7 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1324, allocations: 66.59 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.1325, allocations: 32.95 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1325, allocations: 0 / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1325, allocations: 34.56 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1325, allocations: 3.938 kB / 475.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001402/0.1339, allocations: 0.4931 MB / 475.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.134, allocations: 51.41 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1342, allocations: 227.9 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1342, allocations: 29.64 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.1343, allocations: 108 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1343, allocations: 43.39 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.1344, allocations: 4 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1345, allocations: 326.8 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1346, allocations: 63.95 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1348, allocations: 63.95 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1349, allocations: 63.97 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1349, allocations: 3.938 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003251/0.1353, allocations: 181.5 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1353, allocations: 4 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1353, allocations: 0 / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1353, allocations: 0 / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1354, allocations: 31.92 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1354, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.1355, allocations: 31.88 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1355, allocations: 4 kB / 477 MB, free: 8.051 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 (11): * Single equations (assignments): 11 * 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.0001029/0.1357, allocations: 130.4 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1357, allocations: 11.81 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.1361, allocations: 214.9 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1361, allocations: 0 / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1361, allocations: 0 / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1361, allocations: 4 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.1369, allocations: 0.5078 MB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1369, allocations: 64 / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.137, allocations: 39.91 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.137, allocations: 0 / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.137, allocations: 4.375 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.137, allocations: 3.953 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.137, allocations: 0 / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.1374, allocations: 293 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1375, allocations: 96.92 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1375, allocations: 0 / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.1376, allocations: 19.98 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.1376, allocations: 11.94 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1377, allocations: 4 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1378, allocations: 163.5 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1378, allocations: 0 / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1381, allocations: 24 kB / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001481/0.1396, allocations: 1.178 MB / 479.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.1399, allocations: 139.9 kB / 479.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1399, allocations: 0 / 479.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.1401, allocations: 79.89 kB / 479.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1404, allocations: 19.94 kB / 479.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1419, allocations: 0.983 MB / 480.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1422, allocations: 0.7161 MB / 481.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.1423, allocations: 36.45 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.1424, allocations: 39.42 kB / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1424, allocations: 0 / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.1564, allocations: 3.033 MB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.1567, allocations: 224.6 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.963, allocations: 0 / 484.9 MB, free: 168 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat