Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.0009419/0.0009419, allocations: 95.77 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.0009289/0.000929, allocations: 182.1 kB / 17.87 MB, free: 5.609 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.478/1.478, allocations: 223.2 MB / 241.8 MB, free: 368 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.2046/0.2046, allocations: 44.22 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004755, allocations: 14.28 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002422/0.1337, allocations: 1.305 MB / 472.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.1346, allocations: 375.6 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.1347, allocations: 4 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.1351, allocations: 27.89 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1353, allocations: 31.89 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1357, allocations: 103.4 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1359, allocations: 55.88 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.1361, allocations: 19.98 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.1362, allocations: 27.86 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1363, allocations: 23.91 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1364, allocations: 8 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1365, allocations: 31.88 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.1366, allocations: 11.98 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.1367, allocations: 33.64 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1369, allocations: 84.08 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1369, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.1369, allocations: 3.938 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1369, allocations: 4 kB / 473.7 MB, free: 11.48 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.0008003/0.1377, allocations: 387 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/0.1378, allocations: 16.03 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.1379, allocations: 30.56 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.1379, allocations: 11.81 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.1383, allocations: 194.9 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1383, allocations: 4 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.1383, allocations: 11.95 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1385, allocations: 69.66 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1386, allocations: 4 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1386, allocations: 0 / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1386, allocations: 4 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1387, allocations: 51.89 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.1393, allocations: 328.7 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1394, allocations: 78.48 kB / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1395, allocations: 0 / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1395, allocations: 30.56 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1395, allocations: 0 / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001213/0.1407, allocations: 353.7 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1408, allocations: 55.36 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1409, allocations: 152.4 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.141, allocations: 29.69 kB / 475.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.141, allocations: 115.8 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.1411, allocations: 43.36 kB / 475.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1411, allocations: 0 / 475.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1412, allocations: 326.8 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1413, allocations: 47.97 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-05/0.1414, allocations: 43.97 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1415, allocations: 62.47 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1416, allocations: 0 / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002831/0.1418, allocations: 157.5 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1419, allocations: 4 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1419, allocations: 0 / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1419, allocations: 0 / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.142, allocations: 35.92 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.142, allocations: 0 / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.1421, allocations: 11.95 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1421, allocations: 7.984 kB / 476.3 MB, free: 8.652 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.0001272/0.1423, allocations: 122.4 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1423, allocations: 7.906 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1427, allocations: 194.3 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1427, allocations: 3.938 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1427, allocations: 0 / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1427, allocations: 7.938 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.1434, allocations: 0.4913 MB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1434, allocations: 0 / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.1435, allocations: 27.98 kB / 477.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1435, allocations: 3.953 kB / 477.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1435, allocations: 12.02 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1435, allocations: 7.938 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1435, allocations: 0 / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.144, allocations: 271.8 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.144, allocations: 88.95 kB / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1441, allocations: 4 kB / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.1441, allocations: 8 kB / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.1442, allocations: 7.984 kB / 477.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.1442, allocations: 4 kB / 477.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1443, allocations: 121.1 kB / 477.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 4 kB / 477.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.1446, allocations: 27.98 kB / 477.7 MB, free: 7.137 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.001587/0.1462, allocations: 1.219 MB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.1465, allocations: 115.9 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.1466, allocations: 4 kB / 479 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1467, allocations: 63.91 kB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1469, allocations: 18.02 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1482, allocations: 0.7908 MB / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1485, allocations: 0.7043 MB / 480.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.1486, allocations: 36.52 kB / 480.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.1487, allocations: 35.42 kB / 480.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1487, allocations: 0 / 480.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.1608, allocations: 2.7 MB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.161, allocations: 221.9 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.916, allocations: 0 / 483.6 MB, free: 1.406 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat does not exist to compare? outputFormat=mat