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.0009251/0.0009251, allocations: 95.39 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.0009225/0.0009225, allocations: 182 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.382/1.382, allocations: 223.2 MB / 241.8 MB, free: 400 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.1942/0.1942, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 15.98 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002102/0.1115, allocations: 1.31 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.113, allocations: 0.9531 MB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.1131, allocations: 0 / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1133, allocations: 19.91 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1134, allocations: 35.84 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1137, allocations: 110.2 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.1138, allocations: 39.89 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.1139, allocations: 16.17 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.268e-05/0.114, allocations: 15.92 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1141, allocations: 27.84 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1141, allocations: 4 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.1142, allocations: 31.92 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1143, allocations: 19.91 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1143, allocations: 33.7 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1144, allocations: 72.11 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1144, allocations: 4 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1144, allocations: 0 / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1144, allocations: 0 / 474.2 MB, free: 10.97 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.0005094/0.115, allocations: 387 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.115, allocations: 15.97 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1151, allocations: 30.56 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1151, allocations: 7.906 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1153, allocations: 191 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1153, allocations: 4 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1154, allocations: 11.86 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1156, allocations: 71.39 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1156, allocations: 3.938 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1156, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1156, allocations: 4 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1158, allocations: 51.95 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.1161, allocations: 280.8 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1163, allocations: 50.5 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1163, allocations: 4 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1163, allocations: 34.56 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1163, allocations: 0 / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007101/0.1171, allocations: 241.4 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1171, allocations: 77.11 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1173, allocations: 142.1 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1173, allocations: 25.7 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.1173, allocations: 100.1 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1174, allocations: 23.62 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1174, allocations: 0 / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1175, allocations: 326.8 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1176, allocations: 35.97 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1177, allocations: 57.69 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1178, allocations: 35.98 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1179, allocations: 0 / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002625/0.1181, allocations: 129.6 kB / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1181, allocations: 4 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1182, allocations: 0 / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1182, allocations: 4 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1183, allocations: 27.97 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1183, allocations: 3.938 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.1184, allocations: 15.91 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.1184, allocations: 3.984 kB / 476.6 MB, free: 8.379 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.889e-05/0.1185, allocations: 126.3 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.1185, allocations: 12 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.1188, allocations: 146.5 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1189, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1189, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1189, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.1194, allocations: 418.5 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1194, allocations: 0 / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/0.1195, allocations: 31.92 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1195, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1195, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1195, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1195, allocations: 8 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.1198, allocations: 223.4 kB / 477.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1199, allocations: 85 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1199, allocations: 8 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.12, allocations: 11.98 kB / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1201, allocations: 7.984 kB / 477.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.1201, allocations: 0 / 477.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.1202, allocations: 109.9 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1202, allocations: 4 kB / 477.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1204, allocations: 27.98 kB / 477.8 MB, free: 7.082 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.001343/0.1218, allocations: 1.093 MB / 478.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1221, allocations: 99.88 kB / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1221, allocations: 0 / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1222, allocations: 51.97 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.1225, allocations: 12 kB / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1236, allocations: 0.6439 MB / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.124, allocations: 0.6965 MB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.1241, allocations: 16.66 kB / 480.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.1241, allocations: 27.42 kB / 480.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1241, allocations: 0 / 480.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.1378, allocations: 2.534 MB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.138, allocations: 215.2 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.917, allocations: 0 / 483.2 MB, free: 1.879 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