Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001199/0.001199, allocations: 96.59 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.001707/0.001707, allocations: 175.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.634/1.634, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3377/0.3377, allocations: 43.54 MB / 314.5 MB, free: 8.758 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.0004655/0.0004656, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002012/0.1155, allocations: 1.521 MB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1166, allocations: 0.5775 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.1167, allocations: 0 / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1171, allocations: 243.4 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1174, allocations: 175.5 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.1186, allocations: 0.5457 MB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1189, allocations: 179.6 kB / 446.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1191, allocations: 52.34 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1192, allocations: 99.59 kB / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.1194, allocations: 131.5 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1195, allocations: 4 kB / 446.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.1196, allocations: 35.98 kB / 446.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1197, allocations: 83.61 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1198, allocations: 61.52 kB / 446.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.12, allocations: 203.6 kB / 446.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.12, allocations: 4 kB / 446.7 MB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.12, allocations: 0 / 446.7 MB, free: 9.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.12, allocations: 0 / 446.7 MB, free: 9.051 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006841/0.1207, allocations: 0.5873 MB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1208, allocations: 8.031 kB / 447.3 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1208, allocations: 42.56 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.1209, allocations: 39.48 kB / 447.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.1213, allocations: 301.2 kB / 447.7 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1213, allocations: 11.98 kB / 447.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1213, allocations: 8 kB / 447.7 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1215, allocations: 93.59 kB / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1216, allocations: 0 / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1216, allocations: 0 / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1216, allocations: 4 kB / 447.8 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1218, allocations: 83.89 kB / 447.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.1224, allocations: 468.4 kB / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1226, allocations: 70.55 kB / 448.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.1226, allocations: 3.984 kB / 448.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1226, allocations: 38.69 kB / 448.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1226, allocations: 0 / 448.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003432/0.123, allocations: 157.1 kB / 448.6 MB, free: 6.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.123, allocations: 55.41 kB / 448.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008251/0.1239, allocations: 0.5487 MB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1239, allocations: 29.7 kB / 449.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1241, allocations: 200.2 kB / 449.5 MB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1241, allocations: 27.64 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1242, allocations: 0 / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1243, allocations: 350.8 kB / 449.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.1244, allocations: 23.98 kB / 449.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.1245, allocations: 31.98 kB / 449.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.1246, allocations: 31.97 kB / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1246, allocations: 0 / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002107/0.1248, allocations: 133.2 kB / 450 MB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1248, allocations: 4 kB / 450 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1248, allocations: 3.984 kB / 450 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1248, allocations: 4 kB / 450.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.1249, allocations: 12 kB / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1249, allocations: 0 / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.125, allocations: 11.91 kB / 450.1 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.125, allocations: 7.922 kB / 450.1 MB, free: 5.473 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 (6): * Single equations (assignments): 6 * 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.0001391/0.1252, allocations: 169.8 kB / 450.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.1252, allocations: 39.48 kB / 450.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.1255, allocations: 157.4 kB / 450.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1255, allocations: 0 / 450.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1256, allocations: 4 kB / 450.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1256, allocations: 0 / 450.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1259, allocations: 293.5 kB / 450.7 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1259, allocations: 0 / 450.7 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.126, allocations: 12 kB / 450.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.126, allocations: 7.938 kB / 450.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.126, allocations: 7.984 kB / 450.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.126, allocations: 0 / 450.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.126, allocations: 0 / 450.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1262, allocations: 231 kB / 451 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.1263, allocations: 124.5 kB / 451.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1264, allocations: 3.953 kB / 451.1 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.808e-05/0.1265, allocations: 8 kB / 451.1 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1265, allocations: 11.92 kB / 451.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1265, allocations: 0 / 451.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004026/0.1269, allocations: 415.1 kB / 451.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1269, allocations: 0 / 451.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1272, allocations: 31.91 kB / 451.6 MB, free: 3.895 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 (6): * Single equations (assignments): 6 * 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.00165/0.1289, allocations: 1.252 MB / 452.8 MB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1291, allocations: 71.84 kB / 452.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1291, allocations: 0 / 452.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.1292, allocations: 39.97 kB / 452.9 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1296, allocations: 61.47 kB / 453 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.132, allocations: 1.767 MB / 454.8 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1836/0.3156, allocations: 0.8094 MB / 455.6 MB, free: 45.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.3159, allocations: 51.84 kB / 455.6 MB, free: 45.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.316, allocations: 104.6 kB / 455.7 MB, free: 45.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.316, allocations: 3.75 kB / 455.7 MB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.3324, allocations: 5.98 MB / 461.7 MB, free: 45.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.3326, allocations: 218 kB / 461.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.32, allocations: 0 / 461.9 MB, free: 44.93 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat