Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.001452/0.001452, allocations: 97.8 kB / 17 MB, free: 6.031 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.00159/0.00159, allocations: 183.5 kB / 17.89 MB, free: 5.633 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.432/1.432, allocations: 223.3 MB / 241.9 MB, free: 352 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.2282/0.2282, allocations: 44.23 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 12 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 61.91 MB / 471.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.001731/0.1202, allocations: 1.255 MB / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1216, allocations: 0.9648 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.1217, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1219, allocations: 19.92 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.122, allocations: 39.84 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1223, allocations: 94.94 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1224, allocations: 47.84 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.1225, allocations: 12 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.1225, allocations: 23.91 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1227, allocations: 23.86 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1227, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.1228, allocations: 39.97 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.1228, allocations: 11.94 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.1228, allocations: 29.7 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.123, allocations: 64.12 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.123, allocations: 0 / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.123, allocations: 0 / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.123, allocations: 0 / 474.3 MB, free: 11.02 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.0004011/0.1234, allocations: 375.1 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1235, allocations: 8.031 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.445e-05/0.1235, allocations: 34.56 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.1235, allocations: 7.938 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1237, allocations: 186.9 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1237, allocations: 8 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1237, allocations: 7.953 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1239, allocations: 67.39 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1239, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1239, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1239, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.124, allocations: 35.92 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.1243, allocations: 276.9 kB / 475.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1245, allocations: 46.55 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.1246, allocations: 20.86 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1246, allocations: 3.938 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1246, allocations: 38.64 kB / 475.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1246, allocations: 3.938 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004947/0.1251, allocations: 161.3 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1252, allocations: 77.11 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1253, allocations: 141.8 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1253, allocations: 29.7 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.1254, allocations: 96 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1254, allocations: 15.81 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.1254, allocations: 0 / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.1255, allocations: 326.8 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.1256, allocations: 23.98 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1257, allocations: 37.7 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.1258, allocations: 28.02 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1258, allocations: 0 / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001797/0.1259, allocations: 93.56 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.126, allocations: 4 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.126, allocations: 0 / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.126, allocations: 4 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.1261, allocations: 19.92 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1261, allocations: 4 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.1261, allocations: 4 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1261, allocations: 4 kB / 476.4 MB, free: 8.625 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 8.05e-05/0.1262, allocations: 122.3 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1262, allocations: 7.906 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.1265, allocations: 101.6 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1265, allocations: 4.312 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1265, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1265, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.1269, allocations: 370.4 kB / 477 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1269, allocations: 288 / 477 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.127, allocations: 15.98 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.127, allocations: 0 / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.127, allocations: 4 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.127, allocations: 0 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.127, allocations: 3.938 kB / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1272, allocations: 199.3 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.1273, allocations: 93 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1273, allocations: 0 / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.1274, allocations: 4 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.1274, allocations: 11.98 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1274, allocations: 0 / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.277e-05/0.1275, allocations: 106.3 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1275, allocations: 0 / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1278, allocations: 20 kB / 477.5 MB, free: 7.48 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.001231/0.129, allocations: 1.069 MB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1292, allocations: 59.95 kB / 478.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1292, allocations: 0 / 478.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.1293, allocations: 35.92 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1296, allocations: 15.98 kB / 478.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008682/0.1304, allocations: 0.5376 MB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1307, allocations: 0.6926 MB / 479.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.1308, allocations: 12.36 kB / 479.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.1308, allocations: 23.42 kB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1308, allocations: 4 kB / 479.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.1434, allocations: 2.327 MB / 482.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.1436, allocations: 227.1 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/1.968, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat does not exist to compare? outputFormat=mat