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.001013/0.001014, allocations: 95.66 kB / 17 MB, free: 6.395 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.001101/0.001102, allocations: 181 kB / 17.89 MB, free: 5.941 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.475/1.475, allocations: 223.3 MB / 241.9 MB, free: 14.51 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.2332/0.2332, allocations: 44.22 MB / 337.2 MB, free: 2.551 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 13.62 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.001821/0.1226, allocations: 1.313 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006631/0.1233, allocations: 383.7 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.1234, allocations: 4 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1236, allocations: 27.89 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1237, allocations: 31.86 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.124, allocations: 107.8 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1242, allocations: 63.83 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.1243, allocations: 23.97 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.1243, allocations: 23.92 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.1244, allocations: 31.84 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1245, allocations: 4 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.039e-05/0.1245, allocations: 39.86 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1246, allocations: 19.97 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1246, allocations: 33.64 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1248, allocations: 76.11 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1248, allocations: 0 / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1248, allocations: 0 / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1248, allocations: 0 / 473.8 MB, free: 11.42 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.0004623/0.1253, allocations: 401.2 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1253, allocations: 8.031 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.1254, allocations: 38.56 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.1254, allocations: 11.81 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1256, allocations: 190.9 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1256, allocations: 4 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1256, allocations: 11.95 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1258, allocations: 73.66 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1258, allocations: 0 / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1259, allocations: 4 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1259, allocations: 11.88 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.126, allocations: 43.97 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.1265, allocations: 332.7 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1266, allocations: 66.5 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.1267, allocations: 28.84 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1267, allocations: 0 / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1267, allocations: 34.55 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.1267, allocations: 4 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001007/0.1277, allocations: 344.8 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1278, allocations: 59.3 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1279, allocations: 154 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.128, allocations: 33.7 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.128, allocations: 108 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.1281, allocations: 43.36 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1281, allocations: 0 / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1282, allocations: 326.8 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.99e-05/0.1283, allocations: 43.97 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1284, allocations: 51.97 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1285, allocations: 51.98 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1285, allocations: 0 / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002542/0.1288, allocations: 157.5 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1288, allocations: 10.03 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1288, allocations: 4 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1289, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.129, allocations: 35.91 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.129, allocations: 3.953 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1291, allocations: 4 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1291, allocations: 4 kB / 476.5 MB, free: 8.559 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.0001006/0.1292, allocations: 134.3 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1292, allocations: 7.906 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.1296, allocations: 195 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1296, allocations: 0 / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1296, allocations: 3.938 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1296, allocations: 7.953 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.1303, allocations: 491.2 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1303, allocations: 0 / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.1304, allocations: 32.02 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1304, allocations: 7.891 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1304, allocations: 4 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1304, allocations: 7.984 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1304, allocations: 0 / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.1307, allocations: 263 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.1308, allocations: 85.02 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.1308, allocations: 19.92 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.1309, allocations: 4 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.131, allocations: 7.984 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.131, allocations: 4 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.391e-05/0.1311, allocations: 123.2 kB / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1311, allocations: 0 / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1313, allocations: 24 kB / 477.8 MB, free: 7.055 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.001489/0.1328, allocations: 1.136 MB / 479 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1331, allocations: 127.8 kB / 479.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1331, allocations: 0 / 479.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1333, allocations: 67.91 kB / 479.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1336, allocations: 25.88 kB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1349, allocations: 0.7872 MB / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1352, allocations: 0.7082 MB / 480.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.072e-05/0.1353, allocations: 28.53 kB / 480.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.1354, allocations: 35.42 kB / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1354, allocations: 0 / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1494, allocations: 2.709 MB / 483.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.1497, allocations: 216 kB / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/1.998, allocations: 3.938 kB / 483.7 MB, free: 1.391 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