Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",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.000993/0.0009928, allocations: 95.64 kB / 16.98 MB, free: 5.938 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.0009116/0.0009118, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.376/1.376, allocations: 223.2 MB / 241.8 MB, free: 396 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.2097/0.2097, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002282/0.1236, allocations: 1.334 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007711/0.1244, allocations: 367.5 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.1244, allocations: 4 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1247, allocations: 47.88 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1249, allocations: 47.81 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1252, allocations: 106.8 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1253, allocations: 51.86 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.1254, allocations: 16 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.1255, allocations: 23.89 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.1256, allocations: 31.86 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1256, allocations: 0 / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.1257, allocations: 31.98 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1258, allocations: 19.91 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.1258, allocations: 33.7 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1259, allocations: 83.98 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.126, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.126, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.126, allocations: 4 kB / 473.7 MB, free: 11.46 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.0005166/0.1265, allocations: 395 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1265, allocations: 11.97 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.1266, allocations: 38.56 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1266, allocations: 11.91 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1268, allocations: 191.4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1269, allocations: 4 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1269, allocations: 15.95 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1271, allocations: 65.61 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1271, allocations: 3.984 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1271, allocations: 0 / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1271, allocations: 0 / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1273, allocations: 47.97 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1277, allocations: 312.6 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.128, allocations: 58.56 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.128, allocations: 3.984 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.128, allocations: 30.56 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.128, allocations: 0 / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0015/0.1296, allocations: 461.1 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1296, allocations: 51.41 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1298, allocations: 176.2 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1298, allocations: 25.7 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1299, allocations: 108 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1299, allocations: 35.53 kB / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.1299, allocations: 8 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1301, allocations: 318.8 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1302, allocations: 51.97 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1304, allocations: 51.97 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1305, allocations: 56.3 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1305, allocations: 0 / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003188/0.1308, allocations: 165.3 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1309, allocations: 8 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1309, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1309, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.131, allocations: 31.98 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.131, allocations: 0 / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.1311, allocations: 16.55 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1311, allocations: 7.953 kB / 476.4 MB, free: 8.523 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.000119/0.1312, allocations: 126.3 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1313, allocations: 11.89 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.1317, allocations: 190.2 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1317, allocations: 4 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1317, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1317, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.1324, allocations: 483.9 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1324, allocations: 0 / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.1325, allocations: 27.98 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1325, allocations: 4 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1325, allocations: 4 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.1325, allocations: 16 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1325, allocations: 0 / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.1329, allocations: 284.4 kB / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.133, allocations: 96.86 kB / 477.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.133, allocations: 4 kB / 477.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1331, allocations: 19.98 kB / 477.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1331, allocations: 7.984 kB / 477.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1332, allocations: 4 kB / 477.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1333, allocations: 134.1 kB / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1333, allocations: 0 / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1335, allocations: 27.98 kB / 477.8 MB, free: 6.98 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.001654/0.1352, allocations: 1.312 MB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1355, allocations: 119.9 kB / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1356, allocations: 4 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1357, allocations: 67.91 kB / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.136, allocations: 19.92 kB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1373, allocations: 0.8039 MB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1377, allocations: 0.7121 MB / 480.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.567e-05/0.1378, allocations: 16.41 kB / 480.9 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.1378, allocations: 35.42 kB / 480.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1379, allocations: 4 kB / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.1511, allocations: 2.729 MB / 483.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.1513, allocations: 215.7 kB / 483.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.835, allocations: 3.938 kB / 483.9 MB, free: 1.109 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat does not exist to compare? outputFormat=mat