Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001238/0.001238, allocations: 95.08 kB / 16.98 MB, free: 6.398 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.001388/0.001388, allocations: 183.8 kB / 17.87 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.477/1.477, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2177/0.2177, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.000415, allocations: 9.531 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002049/0.1336, allocations: 1.306 MB / 472.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.1345, allocations: 375.6 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.1346, allocations: 0 / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1348, allocations: 27.84 kB / 473.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.135, allocations: 23.97 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1354, allocations: 82.64 kB / 473.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1355, allocations: 59.88 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.1356, allocations: 15.98 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.1357, allocations: 23.86 kB / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.1358, allocations: 31.84 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1358, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.1359, allocations: 31.92 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.1359, allocations: 11.88 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.136, allocations: 37.7 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1361, allocations: 76.16 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1361, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1361, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1361, allocations: 4 kB / 473.6 MB, free: 11.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004576/0.1366, allocations: 390.9 kB / 474 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1367, allocations: 12.03 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.1367, allocations: 34.56 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.1367, allocations: 15.81 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1369, allocations: 187 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.137, allocations: 4 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.137, allocations: 11.86 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1372, allocations: 65.67 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1372, allocations: 3.938 kB / 474.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1372, allocations: 4 kB / 474.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1372, allocations: 3.984 kB / 474.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1373, allocations: 43.97 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.1377, allocations: 316.7 kB / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1379, allocations: 66.59 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1379, allocations: 7.938 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1379, allocations: 34.56 kB / 474.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1379, allocations: 0 / 474.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009808/0.1389, allocations: 317.2 kB / 475.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.139, allocations: 55.41 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1391, allocations: 156 kB / 475.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1392, allocations: 37.64 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.1392, allocations: 100.1 kB / 475.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1393, allocations: 43.3 kB / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.1393, allocations: 4 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1394, allocations: 318.8 kB / 475.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.325e-05/0.1395, allocations: 39.97 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.1396, allocations: 39.98 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1397, allocations: 46.61 kB / 475.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1397, allocations: 0 / 475.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002425/0.14, allocations: 141.6 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.14, allocations: 4 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.14, allocations: 4 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.14, allocations: 3.984 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1401, allocations: 27.92 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1401, allocations: 4.703 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.1402, allocations: 11.95 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1402, allocations: 7.938 kB / 476.1 MB, free: 8.785 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.0001279/0.1404, allocations: 122.4 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1404, allocations: 15.81 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.1407, allocations: 178.4 kB / 476.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1408, allocations: 0 / 476.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1408, allocations: 0 / 476.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1408, allocations: 3.938 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.1414, allocations: 471.1 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1414, allocations: 0 / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.1415, allocations: 27.98 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1415, allocations: 3.984 kB / 476.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1415, allocations: 7.953 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1415, allocations: 7.938 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1415, allocations: 0 / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1418, allocations: 246 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1419, allocations: 92.95 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1419, allocations: 4 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.142, allocations: 8 kB / 477.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.142, allocations: 15.92 kB / 477.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.142, allocations: 8 kB / 477.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.936e-05/0.1421, allocations: 119.2 kB / 477.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1421, allocations: 0 / 477.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1424, allocations: 24 kB / 477.5 MB, free: 7.336 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.001488/0.1439, allocations: 1.208 MB / 478.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1442, allocations: 111.8 kB / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1442, allocations: 0 / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1443, allocations: 63.84 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1446, allocations: 11.98 kB / 478.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1458, allocations: 0.7367 MB / 479.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1462, allocations: 0.7004 MB / 480.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.622e-05/0.1462, allocations: 20.53 kB / 480.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.1463, allocations: 35.42 kB / 480.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1463, allocations: 7.938 kB / 480.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.1591, allocations: 2.618 MB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.1593, allocations: 220.7 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/1.996, allocations: 0 / 483.2 MB, free: 1.781 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat