Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.0009447/0.0009447, allocations: 98.77 kB / 17 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.001171/0.001171, allocations: 178.2 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.409/1.409, allocations: 223.2 MB / 241.9 MB, free: 240 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.2212/0.2212, allocations: 44.23 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 12.22 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001891/0.1297, allocations: 1.259 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.1304, allocations: 375.7 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.1304, allocations: 0 / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1307, allocations: 19.92 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1308, allocations: 31.84 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1311, allocations: 99.56 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1312, allocations: 47.84 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.1313, allocations: 12 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.1313, allocations: 15.92 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.1314, allocations: 27.84 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1314, allocations: 0 / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.1315, allocations: 16 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.1316, allocations: 11.98 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1316, allocations: 37.64 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1317, allocations: 52.2 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1317, allocations: 0 / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1317, allocations: 4 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1317, allocations: 3.938 kB / 473.7 MB, free: 11.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004234/0.1322, allocations: 379 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1322, allocations: 8.031 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.1322, allocations: 30.56 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.1323, allocations: 7.906 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1325, allocations: 193.4 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.1325, allocations: 4 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1325, allocations: 3.953 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1326, allocations: 53.69 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1327, allocations: 3.984 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1327, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1327, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.1328, allocations: 27.97 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1331, allocations: 284.9 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1333, allocations: 42.56 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.1334, allocations: 24.94 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1334, allocations: 0 / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1335, allocations: 38.56 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1335, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005174/0.134, allocations: 169.2 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.134, allocations: 55.41 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1342, allocations: 154 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1342, allocations: 25.7 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.1343, allocations: 96.05 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1343, allocations: 11.75 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1343, allocations: 7.938 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1344, allocations: 326.8 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.1345, allocations: 27.92 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.1346, allocations: 27.97 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.552e-05/0.1347, allocations: 27.98 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1347, allocations: 0 / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001703/0.1348, allocations: 93.58 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1349, allocations: 4 kB / 475.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1349, allocations: 0 / 475.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1349, allocations: 4 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.135, allocations: 15.98 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.135, allocations: 4 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.135, allocations: 7.984 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.135, allocations: 0 / 475.8 MB, free: 9.266 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 (5): * Single equations (assignments): 5 * 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 9.19e-05/0.1351, allocations: 126.3 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1352, allocations: 7.906 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.1354, allocations: 106 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1354, allocations: 0 / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1354, allocations: 3.938 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1354, allocations: 0 / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.1358, allocations: 362.5 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1358, allocations: 7.984 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.1359, allocations: 8.375 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1359, allocations: 4 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1359, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1359, allocations: 4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1359, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1362, allocations: 195.4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.1362, allocations: 92.94 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1362, allocations: 0 / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.1363, allocations: 4 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1363, allocations: 11.98 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1363, allocations: 4 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.609e-05/0.1364, allocations: 121 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1364, allocations: 0 / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1367, allocations: 12 kB / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001259/0.1379, allocations: 1.032 MB / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1381, allocations: 55.91 kB / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1381, allocations: 0 / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.1382, allocations: 31.98 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1385, allocations: 19.97 kB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/0.1395, allocations: 0.6034 MB / 478.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1398, allocations: 0.7043 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.1399, allocations: 11.98 kB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.1399, allocations: 19.44 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1399, allocations: 0 / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.1536, allocations: 2.118 MB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.154, allocations: 219.5 kB / 481.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.057, allocations: 0 / 481.6 MB, free: 3.457 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat does not exist to compare? outputFormat=mat