Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",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.001017/0.001017, allocations: 97.25 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.001142/0.001142, allocations: 180 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.441/1.441, 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.1993/0.1993, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.001755/0.1296, allocations: 1.314 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1309, allocations: 0.9531 MB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.1309, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.1311, allocations: 11.92 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1312, allocations: 39.83 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1315, allocations: 112.4 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1316, allocations: 39.89 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1317, allocations: 16.17 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.1318, allocations: 19.92 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1319, allocations: 27.84 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1319, allocations: 4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.132, allocations: 31.92 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1321, allocations: 15.92 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.1321, allocations: 29.7 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1322, allocations: 76.09 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1322, allocations: 8 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1322, allocations: 3.938 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1323, allocations: 0 / 474.2 MB, free: 10.95 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.0004521/0.1327, allocations: 383 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1328, allocations: 12.03 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.1328, allocations: 38.55 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1328, allocations: 7.906 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.133, allocations: 183 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.133, allocations: 4 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1331, allocations: 15.86 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1332, allocations: 75.33 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1332, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1333, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1333, allocations: 4 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1334, allocations: 39.97 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1338, allocations: 292.8 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1339, allocations: 50.5 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1339, allocations: 0 / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1339, allocations: 34.56 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1339, allocations: 0 / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007181/0.1347, allocations: 237.5 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1347, allocations: 77.11 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1349, allocations: 137.3 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1349, allocations: 29.7 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.1349, allocations: 96.06 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.135, allocations: 27.61 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.135, allocations: 4 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1351, allocations: 322.8 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1352, allocations: 36.05 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1353, allocations: 61.67 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1355, allocations: 43.97 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1355, allocations: 0 / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002694/0.1358, allocations: 125.6 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1358, allocations: 4 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1358, allocations: 0 / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1358, allocations: 8.031 kB / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1359, allocations: 23.98 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1359, allocations: 3.938 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.136, allocations: 23.89 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.136, allocations: 0 / 476.6 MB, free: 8.359 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 8.856e-05/0.1361, allocations: 126.3 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1362, allocations: 8 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.1365, allocations: 150.5 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1365, allocations: 3.938 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1365, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1365, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.137, allocations: 410.5 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.137, allocations: 0 / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.1371, allocations: 27.92 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1371, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1371, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1371, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1372, allocations: 4 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.1375, allocations: 231.3 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1375, allocations: 89 kB / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1376, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.1377, allocations: 15.98 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.1377, allocations: 11.98 kB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1377, allocations: 0 / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.489e-05/0.1378, allocations: 103.3 kB / 477.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1378, allocations: 4 kB / 477.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1381, allocations: 35.92 kB / 477.8 MB, free: 7.059 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.001512/0.1396, allocations: 1.091 MB / 478.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1399, allocations: 99.88 kB / 479 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1399, allocations: 0 / 479 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.14, allocations: 47.97 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1403, allocations: 15.98 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1415, allocations: 0.6382 MB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1418, allocations: 0.6965 MB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.1419, allocations: 16.66 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.142, allocations: 31.36 kB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.142, allocations: 0 / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.1563, allocations: 2.521 MB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/0.1567, allocations: 222.2 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.865, allocations: 3.75 kB / 483.2 MB, free: 1.863 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat does not exist to compare? outputFormat=mat