Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",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.001134/0.001134, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 174.4 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3839/0.3839, allocations: 43.55 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006888/0.0006888, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1087, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.001999/0.1107, allocations: 1.314 MB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1124, allocations: 0.8635 MB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.1125, allocations: 0 / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.1127, allocations: 15.92 kB / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1129, allocations: 35.84 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1132, allocations: 111.7 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1134, allocations: 35.95 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1135, allocations: 12.17 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.1136, allocations: 23.84 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1137, allocations: 19.92 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1138, allocations: 4 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1139, allocations: 39.86 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1139, allocations: 11.98 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.114, allocations: 33.64 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1142, allocations: 68.11 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1142, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1142, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1142, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.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.0006063/0.1148, allocations: 395 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1149, allocations: 8.031 kB / 445.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1149, allocations: 38.56 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.115, allocations: 11.89 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1152, allocations: 194.8 kB / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1152, allocations: 0 / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1153, allocations: 4 kB / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.1155, allocations: 75.39 kB / 446.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1155, allocations: 3.938 kB / 446.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1156, allocations: 4 kB / 446.1 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1156, allocations: 0 / 446.1 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.1158, allocations: 47.91 kB / 446.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1162, allocations: 296.7 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1164, allocations: 46.56 kB / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1164, allocations: 0 / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1164, allocations: 34.56 kB / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1165, allocations: 0 / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009841/0.1174, allocations: 245.3 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1175, allocations: 77.11 kB / 446.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1177, allocations: 145.8 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1177, allocations: 25.7 kB / 447 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.1178, allocations: 96.12 kB / 447.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1179, allocations: 23.66 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.1179, allocations: 0 / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.118, allocations: 322.8 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1182, allocations: 43.91 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1184, allocations: 57.75 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1185, allocations: 44.02 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1185, allocations: 0 / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000364/0.1189, allocations: 125.5 kB / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1189, allocations: 8 kB / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.119, allocations: 0 / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.119, allocations: 0 / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1191, allocations: 23.98 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.1192, allocations: 3.984 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.1193, allocations: 15.94 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1193, allocations: 8 kB / 447.8 MB, free: 7.977 MB / 382.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 0.0001093/0.1194, allocations: 121.8 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.1195, allocations: 11.86 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.1199, allocations: 146.3 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1199, allocations: 0 / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1199, allocations: 0 / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1199, allocations: 0 / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.1206, allocations: 414.3 kB / 448.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1206, allocations: 3.984 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1208, allocations: 31.92 kB / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1208, allocations: 0 / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1208, allocations: 0 / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1208, allocations: 0 / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1208, allocations: 0 / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.1212, allocations: 223.3 kB / 448.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.1213, allocations: 96.95 kB / 448.8 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1213, allocations: 0 / 448.8 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1215, allocations: 15.98 kB / 448.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1215, allocations: 8 kB / 448.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1216, allocations: 4 kB / 448.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1217, allocations: 107.2 kB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1217, allocations: 0 / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1221, allocations: 24 kB / 449 MB, free: 6.691 MB / 382.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.001986/0.1241, allocations: 1.097 MB / 450.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.1245, allocations: 95.92 kB / 450.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1245, allocations: 0 / 450.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1247, allocations: 55.91 kB / 450.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.125, allocations: 8 kB / 450.2 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1266, allocations: 0.631 MB / 450.9 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.127, allocations: 0.7043 MB / 451.6 MB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.509e-05/0.1271, allocations: 13.12 kB / 451.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.1272, allocations: 27.42 kB / 451.6 MB, free: 4.004 MB / 382.1 MB Notification: Performance of SimCode: time 2.856e-06/0.1272, allocations: 4 kB / 451.6 MB, free: 4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.1442, allocations: 2.524 MB / 454.1 MB, free: 1.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.1445, allocations: 214.7 kB / 454.3 MB, free: 1.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/1.993, allocations: 0 / 454.3 MB, free: 1.238 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat does not exist to compare? outputFormat=mat