Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0007907/0.0007907, allocations: 95.95 kB / 17 MB, free: 6.352 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.0008227/0.0008228, allocations: 184.2 kB / 17.89 MB, free: 5.926 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.386/1.386, allocations: 223.2 MB / 241.9 MB, free: 156 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.2116/0.2116, allocations: 44.22 MB / 337.2 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.001789/0.1268, allocations: 1.318 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1281, allocations: 0.9609 MB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1282, allocations: 0 / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1284, allocations: 19.91 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1286, allocations: 35.84 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1289, allocations: 111.8 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1291, allocations: 51.84 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.1292, allocations: 12.17 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.1292, allocations: 23.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1294, allocations: 23.92 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1294, allocations: 0 / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1295, allocations: 51.91 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.1295, allocations: 11.92 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.1296, allocations: 37.64 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1297, allocations: 76.09 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1297, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1297, allocations: 3.938 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1298, allocations: 0 / 474.4 MB, free: 10.86 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.000513/0.1303, allocations: 387.1 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1303, allocations: 12.03 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.1304, allocations: 34.56 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.1304, allocations: 7.906 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1306, allocations: 186.9 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.1306, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1306, allocations: 15.86 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1308, allocations: 75.39 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1308, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1309, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1309, allocations: 7.938 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.131, allocations: 39.97 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.1314, allocations: 292.8 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1315, allocations: 50.55 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.1316, allocations: 32.94 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1316, allocations: 0 / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1317, allocations: 34.56 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1317, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007159/0.1324, allocations: 241.5 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1325, allocations: 77.11 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1326, allocations: 141.6 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1326, allocations: 25.7 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.1327, allocations: 96.08 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1327, allocations: 27.61 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1327, allocations: 0 / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1328, allocations: 330.8 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.133, allocations: 31.98 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1331, allocations: 65.73 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1332, allocations: 39.98 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1332, allocations: 0 / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002826/0.1335, allocations: 121.9 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1335, allocations: 4 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1335, allocations: 80 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1335, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1337, allocations: 35.91 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1337, allocations: 3.984 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.1337, allocations: 19.89 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1338, allocations: 4 kB / 476.8 MB, free: 8.227 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 9.228e-05/0.1339, allocations: 126.2 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.1339, allocations: 4 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.1342, allocations: 146.2 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1342, allocations: 3.938 kB / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1343, allocations: 4 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1343, allocations: 0 / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.1349, allocations: 406.5 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1349, allocations: 3.938 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.034e-05/0.135, allocations: 23.98 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.135, allocations: 7.984 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.135, allocations: 0 / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.135, allocations: 0 / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.135, allocations: 3.938 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.1353, allocations: 227.3 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.1354, allocations: 97 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1354, allocations: 0 / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.1355, allocations: 12 kB / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1355, allocations: 7.984 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1356, allocations: 4 kB / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.62e-05/0.1356, allocations: 107.2 kB / 477.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1356, allocations: 0 / 477.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1359, allocations: 24 kB / 478 MB, free: 6.938 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.001395/0.1373, allocations: 1.103 MB / 479.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1376, allocations: 95.95 kB / 479.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1376, allocations: 0 / 479.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1377, allocations: 51.91 kB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1381, allocations: 15.98 kB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1392, allocations: 0.638 MB / 479.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1395, allocations: 0.6926 MB / 480.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.1395, allocations: 13.12 kB / 480.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.1396, allocations: 31.36 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1396, allocations: 0 / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.1537, allocations: 2.547 MB / 483.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.1539, allocations: 220 kB / 483.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.003, allocations: 0 / 483.4 MB, free: 1.723 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat does not exist to compare? outputFormat=mat