Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.0007955/0.0007957, allocations: 88.19 kB / 15.7 MB, free: 460 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.001017/0.001017, allocations: 174.1 kB / 16.58 MB, free: 6.84 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.518/1.518, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.333/0.333, allocations: 43.55 MB / 314.6 MB, free: 8.719 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.0004593/0.0004594, allocations: 16 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.001729/0.1053, allocations: 1.314 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1064, allocations: 0.8791 MB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.1064, allocations: 0 / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.1066, allocations: 15.92 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1067, allocations: 31.91 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.107, allocations: 111.7 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1071, allocations: 51.84 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.1072, allocations: 12.17 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1073, allocations: 19.92 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1074, allocations: 23.86 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1074, allocations: 7.984 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.189e-05/0.1075, allocations: 47.97 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.1076, allocations: 7.938 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.1076, allocations: 37.64 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1078, allocations: 76.09 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1078, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1078, allocations: 7.875 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1078, allocations: 0 / 445.5 MB, free: 10.29 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.000396/0.1082, allocations: 387 kB / 445.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1082, allocations: 12.03 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1083, allocations: 34.56 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.1083, allocations: 7.953 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1085, allocations: 186.9 kB / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.1085, allocations: 0 / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1085, allocations: 8 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1087, allocations: 79.33 kB / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1087, allocations: 0 / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1087, allocations: 0 / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1087, allocations: 4 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1088, allocations: 47.91 kB / 446.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.1091, allocations: 292.7 kB / 446.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.1092, allocations: 50.55 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.1093, allocations: 28.94 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1093, allocations: 4 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1094, allocations: 34.52 kB / 446.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1094, allocations: 0 / 446.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006694/0.11, allocations: 241.2 kB / 446.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1101, allocations: 77.11 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.1102, allocations: 141.8 kB / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1102, allocations: 25.7 kB / 447.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1103, allocations: 96.12 kB / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1103, allocations: 23.66 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1103, allocations: 3.938 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.1104, allocations: 322.8 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1105, allocations: 44.03 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1107, allocations: 61.62 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1108, allocations: 39.98 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1108, allocations: 0 / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002464/0.111, allocations: 129.5 kB / 447.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.111, allocations: 4 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1111, allocations: 0 / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1111, allocations: 0 / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1112, allocations: 27.98 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1112, allocations: 0 / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.1113, allocations: 15.98 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1113, allocations: 4.312 kB / 447.9 MB, free: 7.656 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 7.099e-05/0.1113, allocations: 125.8 kB / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1114, allocations: 11.86 kB / 448 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1117, allocations: 146.3 kB / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1117, allocations: 0 / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1117, allocations: 0 / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1117, allocations: 4 kB / 448.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.1121, allocations: 410.4 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1122, allocations: 4 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.1122, allocations: 27.97 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1123, allocations: 0 / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1123, allocations: 0 / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1123, allocations: 0 / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1123, allocations: 0 / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1126, allocations: 227.3 kB / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1126, allocations: 96.95 kB / 448.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1126, allocations: 4 kB / 448.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.1127, allocations: 15.98 kB / 448.9 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1128, allocations: 4 kB / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1128, allocations: 4 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.1129, allocations: 107.2 kB / 449.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.1129, allocations: 0 / 449.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1131, allocations: 31.94 kB / 449.1 MB, free: 6.359 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.001283/0.1144, allocations: 1.083 MB / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1147, allocations: 91.95 kB / 450.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1147, allocations: 0 / 450.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1148, allocations: 52.12 kB / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1151, allocations: 20.02 kB / 450.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1161, allocations: 0.6388 MB / 451 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1163, allocations: 0.6887 MB / 451.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.033e-05/0.1164, allocations: 16.59 kB / 451.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.1164, allocations: 27.42 kB / 451.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1165, allocations: 7.938 kB / 451.7 MB, free: 3.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.1288, allocations: 2.539 MB / 454.3 MB, free: 1.145 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.129, allocations: 219.6 kB / 454.5 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.794, allocations: 0 / 454.5 MB, free: 0.9023 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat does not exist to compare? outputFormat=mat