Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",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.001353/0.001353, allocations: 95.89 kB / 15.68 MB, free: 488 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.001094/0.001094, allocations: 176.3 kB / 16.56 MB, free: 6.379 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.516/1.516, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3497/0.3497, allocations: 43.54 MB / 314.5 MB, free: 8.715 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.0004973/0.0004973, allocations: 16 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.001465/0.1081, allocations: 1.318 MB / 444.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000435/0.1085, allocations: 279.9 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.1086, allocations: 0 / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.109, allocations: 435.2 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1092, allocations: 239.5 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.1095, allocations: 103.7 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1096, allocations: 111.8 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.1097, allocations: 8.188 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.1098, allocations: 103.7 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1099, allocations: 151.8 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.11, allocations: 0 / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.774e-05/0.11, allocations: 19.88 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.1101, allocations: 83.75 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1101, allocations: 61.52 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1103, allocations: 191.9 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.1103, allocations: 0 / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1103, allocations: 0 / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1103, allocations: 0 / 445.9 MB, free: 9.891 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.0004951/0.1108, allocations: 0.5949 MB / 446.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.1109, allocations: 15.95 kB / 446.5 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.1109, allocations: 34.56 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.111, allocations: 39.48 kB / 446.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1112, allocations: 279.3 kB / 446.9 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-06/0.1112, allocations: 0 / 446.9 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1112, allocations: 4 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1113, allocations: 69.59 kB / 446.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.1113, allocations: 0 / 446.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.1114, allocations: 3.938 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-06/0.1114, allocations: 0 / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/0.1115, allocations: 31.94 kB / 447 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1118, allocations: 380.7 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.112, allocations: 58.48 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.112, allocations: 0 / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.112, allocations: 38.52 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.112, allocations: 3.984 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004863/0.1125, allocations: 236.1 kB / 447.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1126, allocations: 51.41 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.1133, allocations: 0.8652 MB / 448.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1133, allocations: 29.7 kB / 448.6 MB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1134, allocations: 220.1 kB / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.1135, allocations: 19.75 kB / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.1135, allocations: 0 / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1136, allocations: 358.8 kB / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.1137, allocations: 23.98 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.1137, allocations: 19.98 kB / 449.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.1138, allocations: 27.98 kB / 449.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1138, allocations: 0 / 449.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002023/0.114, allocations: 121 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1141, allocations: 19.94 kB / 449.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1141, allocations: 0 / 449.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.1141, allocations: 0 / 449.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.1141, allocations: 12 kB / 449.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1142, allocations: 3.984 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.1142, allocations: 7.984 kB / 449.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1142, allocations: 4 kB / 449.4 MB, free: 6.133 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 (5): * Single equations (assignments): 5 * 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.0001933/0.1144, allocations: 213.8 kB / 449.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1145, allocations: 39.44 kB / 449.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1148, allocations: 152.9 kB / 449.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1148, allocations: 0 / 449.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1148, allocations: 0 / 449.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1148, allocations: 4 kB / 449.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.1154, allocations: 470.8 kB / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1154, allocations: 7.891 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.1155, allocations: 19.92 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1155, allocations: 0 / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1155, allocations: 4 kB / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1155, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1155, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1157, allocations: 219 kB / 450.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.955e-05/0.1158, allocations: 116.6 kB / 450.7 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1159, allocations: 7.984 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.116, allocations: 4 kB / 450.7 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.116, allocations: 0 / 450.7 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.116, allocations: 4 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006562/0.1167, allocations: 0.655 MB / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1167, allocations: 0 / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1169, allocations: 31.89 kB / 451.4 MB, free: 4.105 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 (5): * Single equations (assignments): 5 * 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.001271/0.1182, allocations: 1.042 MB / 452.4 MB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1184, allocations: 55.97 kB / 452.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1184, allocations: 0 / 452.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.1185, allocations: 35.86 kB / 452.5 MB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1188, allocations: 25.95 kB / 452.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.1213, allocations: 2.215 MB / 454.7 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1944/0.3157, allocations: 0.8281 MB / 455.6 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.3159, allocations: 5.844 kB / 455.6 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.316, allocations: 102.6 kB / 455.7 MB, free: 45.47 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.316, allocations: 0 / 455.7 MB, free: 45.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.3347, allocations: 5.356 MB / 461 MB, free: 45.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.335, allocations: 216.7 kB / 461.2 MB, free: 44.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.211, allocations: 0 / 461.2 MB, free: 44.87 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat