Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001025/0.001025, allocations: 97.17 kB / 16.99 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.0009384/0.0009383, allocations: 178.2 kB / 17.88 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.324/1.324, allocations: 223.2 MB / 241.8 MB, free: 392 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.1944/0.1944, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002079/0.1277, allocations: 1.31 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1292, allocations: 0.9686 MB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.1293, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1295, allocations: 23.91 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1296, allocations: 31.84 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.13, allocations: 159 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1302, allocations: 39.94 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.1303, allocations: 12 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.1303, allocations: 27.84 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1305, allocations: 26.88 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1305, allocations: 3.938 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.1306, allocations: 31.92 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.1306, allocations: 19.97 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.1307, allocations: 29.64 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1308, allocations: 80.11 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1308, allocations: 0 / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1308, allocations: 0 / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1308, allocations: 0 / 474.3 MB, free: 10.91 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.0005179/0.1314, allocations: 391.1 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1314, allocations: 12.02 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1315, allocations: 34.56 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.1315, allocations: 7.906 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1317, allocations: 198.8 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1317, allocations: 4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1318, allocations: 7.953 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.132, allocations: 75.39 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.132, allocations: 0 / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.132, allocations: 7.938 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.132, allocations: 0 / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1322, allocations: 47.95 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.1326, allocations: 308.8 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1328, allocations: 58.55 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1329, allocations: 0 / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1329, allocations: 30.56 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1329, allocations: 0 / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008126/0.1337, allocations: 265.6 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1338, allocations: 77.11 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1339, allocations: 148.3 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.134, allocations: 25.7 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.134, allocations: 100.1 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1341, allocations: 23.66 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.1341, allocations: 0 / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1342, allocations: 330.8 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1344, allocations: 47.91 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1345, allocations: 65.67 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1346, allocations: 43.97 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1346, allocations: 0 / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002916/0.1349, allocations: 141.6 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.135, allocations: 4 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.135, allocations: 0 / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.135, allocations: 0 / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1351, allocations: 35.91 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1351, allocations: 3.984 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1353, allocations: 12 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1353, allocations: 4 kB / 476.8 MB, free: 8.207 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 (7): * Single equations (assignments): 7 * 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.0001082/0.1354, allocations: 122.3 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1354, allocations: 7.906 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.1358, allocations: 162.6 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1359, allocations: 0 / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1359, allocations: 0 / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1359, allocations: 4 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.1366, allocations: 434.4 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1366, allocations: 0 / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.1367, allocations: 19.98 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1367, allocations: 0 / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.1367, allocations: 8 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1368, allocations: 0 / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1368, allocations: 0 / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.1372, allocations: 243.3 kB / 477.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.1373, allocations: 88.94 kB / 477.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1373, allocations: 4 kB / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.1374, allocations: 20 kB / 477.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.1375, allocations: 7.984 kB / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1375, allocations: 0 / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.048e-05/0.1376, allocations: 109.3 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 4 kB / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1378, allocations: 24 kB / 478 MB, free: 6.871 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 (7): * Single equations (assignments): 7 * 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.001573/0.1394, allocations: 1.107 MB / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1397, allocations: 111.9 kB / 479.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1398, allocations: 0 / 479.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1399, allocations: 59.91 kB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1402, allocations: 16.3 kB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.1415, allocations: 0.6976 MB / 480 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1419, allocations: 0.7043 MB / 480.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.947e-05/0.142, allocations: 24.64 kB / 480.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1421, allocations: 31.42 kB / 480.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1421, allocations: 0 / 480.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.1572, allocations: 2.6 MB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.1575, allocations: 225.9 kB / 483.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.003, allocations: 0 / 483.6 MB, free: 1.473 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat does not exist to compare? outputFormat=mat