Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.0007647/0.0007649, allocations: 96.33 kB / 17 MB, free: 6.418 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.0008228/0.0008232, allocations: 188.2 kB / 17.89 MB, free: 5.945 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.472/1.472, allocations: 223.2 MB / 241.9 MB, free: 228 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.2115/0.2115, allocations: 44.23 MB / 337.2 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003051, allocations: 9.625 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 61.9 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002581/0.131, allocations: 1.333 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.132, allocations: 411.6 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.1321, allocations: 4 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1324, allocations: 51.84 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1326, allocations: 51.83 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.1332, allocations: 157.9 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1333, allocations: 63.83 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1335, allocations: 23.95 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.1336, allocations: 31.8 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1337, allocations: 31.84 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1337, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1339, allocations: 51.97 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.1339, allocations: 15.92 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.134, allocations: 41.58 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1342, allocations: 88.08 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1342, allocations: 0 / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1342, allocations: 0 / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1342, allocations: 0 / 474 MB, free: 11.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008479/0.1351, allocations: 403 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.1351, allocations: 12.03 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.1352, allocations: 30.56 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1352, allocations: 7.906 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1355, allocations: 194.9 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1355, allocations: 3.938 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1356, allocations: 11.86 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1358, allocations: 73.61 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1358, allocations: 4 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1358, allocations: 3.984 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1358, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.136, allocations: 47.97 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.1366, allocations: 332.7 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.1369, allocations: 62.55 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.1371, allocations: 36.97 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1372, allocations: 4.031 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1372, allocations: 34.55 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1372, allocations: 0 / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.1387, allocations: 0.4933 MB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1387, allocations: 55.41 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1389, allocations: 194.2 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.139, allocations: 25.7 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1391, allocations: 96.14 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1391, allocations: 39.45 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-06/0.1392, allocations: 4 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1393, allocations: 322.8 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1395, allocations: 59.95 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1396, allocations: 71.89 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1398, allocations: 67.91 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1398, allocations: 0 / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004737/0.1403, allocations: 181.4 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1403, allocations: 10.44 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1403, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1403, allocations: 4 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1405, allocations: 31.98 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1405, allocations: 0 / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.1406, allocations: 19.94 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1406, allocations: 7.938 kB / 476.9 MB, free: 8.152 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 (11): * Single equations (assignments): 11 * 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.0001846/0.1408, allocations: 138.3 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1408, allocations: 11.91 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.1413, allocations: 198.2 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1413, allocations: 4 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1413, allocations: 0 / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1413, allocations: 0 / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.1421, allocations: 0.5156 MB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1421, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1422, allocations: 27.98 kB / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1422, allocations: 3.938 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1422, allocations: 12.06 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1422, allocations: 3.953 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1422, allocations: 0 / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.1427, allocations: 288.9 kB / 478.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.1427, allocations: 89 kB / 478.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1428, allocations: 4 kB / 478.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.1429, allocations: 19.98 kB / 478.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.1429, allocations: 19.86 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1429, allocations: 4 kB / 478.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1431, allocations: 140.1 kB / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1431, allocations: 0 / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1434, allocations: 35.98 kB / 478.4 MB, free: 6.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001751/0.1451, allocations: 1.169 MB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1455, allocations: 147.8 kB / 479.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1455, allocations: 0 / 479.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1456, allocations: 80.02 kB / 479.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.146, allocations: 20.16 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1476, allocations: 0.9144 MB / 480.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1479, allocations: 0.72 MB / 481.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.148, allocations: 28.52 kB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.1481, allocations: 35.42 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1481, allocations: 0 / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.1693, allocations: 2.941 MB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/0.1697, allocations: 212.7 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.93, allocations: 4 kB / 484.6 MB, free: 452 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat does not exist to compare? outputFormat=mat