Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",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.0009005/0.0009005, 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.001203/0.001203, allocations: 173.9 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.568/1.568, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3329/0.3329, allocations: 43.55 MB / 314.6 MB, free: 8.801 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.000461/0.000461, allocations: 20 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002026/0.1154, allocations: 1.31 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005692/0.1159, allocations: 323.8 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.116, allocations: 0 / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.1163, allocations: 51.86 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1164, allocations: 55.81 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1168, allocations: 135.8 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1169, allocations: 67.81 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.117, allocations: 20.25 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.1171, allocations: 27.86 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1172, allocations: 39.81 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1173, allocations: 4 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.1173, allocations: 20 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.1174, allocations: 19.92 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1174, allocations: 37.64 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.1176, allocations: 79.75 kB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1176, allocations: 4 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1176, allocations: 0 / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1176, allocations: 0 / 445.1 MB, free: 10.76 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.0004694/0.1181, allocations: 406.8 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1181, allocations: 8.031 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1181, allocations: 30.56 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1182, allocations: 11.86 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1184, allocations: 191 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1184, allocations: 8 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1184, allocations: 0 / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1186, allocations: 69.59 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1186, allocations: 0 / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1186, allocations: 4 kB / 445.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1186, allocations: 3.984 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1188, allocations: 55.91 kB / 445.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1191, allocations: 308.8 kB / 446.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1193, allocations: 58.48 kB / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.1194, allocations: 28.94 kB / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1194, allocations: 0 / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1194, allocations: 38.52 kB / 446.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1194, allocations: 4 kB / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007008/0.1201, allocations: 253.1 kB / 446.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.1202, allocations: 55.41 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1204, allocations: 194.1 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1204, allocations: 25.7 kB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.1205, allocations: 104.1 kB / 446.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1205, allocations: 23.78 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1205, allocations: 0 / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1206, allocations: 326.8 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1207, allocations: 43.97 kB / 447.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1209, allocations: 43.97 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.121, allocations: 51.97 kB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.121, allocations: 3.938 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000271/0.1213, allocations: 149.4 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1213, allocations: 4 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1213, allocations: 4 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1213, allocations: 4 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1214, allocations: 19.98 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1214, allocations: 0 / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.1215, allocations: 15.98 kB / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1215, allocations: 4 kB / 447.6 MB, free: 8.035 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 9.165e-05/0.1216, allocations: 137.8 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1216, allocations: 15.77 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.122, allocations: 166.5 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.122, allocations: 0 / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.122, allocations: 0 / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.122, allocations: 0 / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.1225, allocations: 434.4 kB / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1225, allocations: 0 / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.1226, allocations: 19.98 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1226, allocations: 4 kB / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1226, allocations: 8 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1226, allocations: 0 / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1227, allocations: 0 / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.123, allocations: 239.4 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.123, allocations: 88.88 kB / 448.6 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1231, allocations: 7.984 kB / 448.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.1231, allocations: 8 kB / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.1232, allocations: 15.92 kB / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1232, allocations: 4 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1233, allocations: 148 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1233, allocations: 0 / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1236, allocations: 24 kB / 448.8 MB, free: 6.641 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.001472/0.1251, allocations: 1.062 MB / 449.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.1254, allocations: 111.9 kB / 450 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1254, allocations: 0 / 450 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1255, allocations: 55.97 kB / 450.1 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1259, allocations: 15.98 kB / 450.1 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1273, allocations: 0.7865 MB / 450.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1276, allocations: 0.7082 MB / 451.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.214e-05/0.1277, allocations: 28.94 kB / 451.6 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.1278, allocations: 31.52 kB / 451.6 MB, free: 3.777 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1278, allocations: 3.938 kB / 451.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.1401, allocations: 2.528 MB / 454.2 MB, free: 1.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.1404, allocations: 220.2 kB / 454.4 MB, free: 1.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.816, allocations: 4 kB / 454.4 MB, free: 1.004 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat