Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001258/0.001259, allocations: 97.42 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.001449/0.001449, allocations: 183.8 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.365/1.365, 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.2186/0.2186, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003191, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001756/0.1238, allocations: 1.274 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.1245, allocations: 379.6 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.1246, allocations: 0 / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1249, allocations: 103.7 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1251, allocations: 67.84 kB / 473.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1254, allocations: 102.4 kB / 473.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1256, allocations: 51.88 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1257, allocations: 12.16 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.1258, allocations: 31.91 kB / 473.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1259, allocations: 47.83 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1259, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.126, allocations: 31.92 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.126, allocations: 27.92 kB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.1261, allocations: 33.64 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1262, allocations: 84.16 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1262, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1263, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1263, allocations: 0 / 473.8 MB, free: 11.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004774/0.1267, allocations: 406.8 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1268, allocations: 8.031 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.1268, allocations: 38.56 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1269, allocations: 15.84 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1271, allocations: 207.3 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1271, allocations: 0 / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1271, allocations: 11.89 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1273, allocations: 61.61 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1273, allocations: 0 / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1273, allocations: 0 / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1273, allocations: 0 / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1274, allocations: 35.98 kB / 474.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.1278, allocations: 300.8 kB / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.128, allocations: 46.5 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.128, allocations: 8 kB / 474.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.128, allocations: 34.64 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.128, allocations: 0 / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009034/0.1289, allocations: 269 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.129, allocations: 59.41 kB / 475.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1292, allocations: 238.7 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1292, allocations: 25.7 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.1293, allocations: 112 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1293, allocations: 23.66 kB / 475.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1294, allocations: 3.938 kB / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1295, allocations: 330.8 kB / 475.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.1296, allocations: 35.97 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.1296, allocations: 31.98 kB / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.1297, allocations: 43.97 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1298, allocations: 0 / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002242/0.13, allocations: 121.5 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.13, allocations: 8 kB / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.13, allocations: 0 / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.13, allocations: 0 / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1301, allocations: 19.98 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1302, allocations: 7.875 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.1302, allocations: 4.422 kB / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1302, allocations: 12 kB / 476.2 MB, free: 8.676 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 (8): * Single equations (assignments): 8 * 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.0001059/0.1303, allocations: 129.8 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1304, allocations: 15.81 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.1307, allocations: 135 kB / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1307, allocations: 11.98 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1307, allocations: 0 / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1307, allocations: 0 / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.1312, allocations: 431.6 kB / 476.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1312, allocations: 4.031 kB / 476.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.1313, allocations: 23.92 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1313, allocations: 4 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1313, allocations: 8 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1313, allocations: 0 / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1314, allocations: 3.938 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1317, allocations: 237.8 kB / 477.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.1317, allocations: 85.02 kB / 477.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1317, allocations: 4 kB / 477.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.1318, allocations: 11.98 kB / 477.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1319, allocations: 15.89 kB / 477.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.1319, allocations: 0 / 477.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.132, allocations: 188.3 kB / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1323, allocations: 27.89 kB / 477.5 MB, free: 7.254 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 (8): * Single equations (assignments): 8 * 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.1338, allocations: 1.171 MB / 478.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.134, allocations: 83.88 kB / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1341, allocations: 0 / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1342, allocations: 51.97 kB / 478.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1345, allocations: 16.14 kB / 478.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1357, allocations: 0.8519 MB / 479.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1361, allocations: 0.7238 MB / 480.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.956e-05/0.1361, allocations: 20.95 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.1362, allocations: 35.42 kB / 480.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1362, allocations: 0 / 480.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.1497, allocations: 2.78 MB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/0.1501, allocations: 213.3 kB / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.966, allocations: 3.938 kB / 483.5 MB, free: 1.48 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat does not exist to compare? outputFormat=mat