Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001171/0.001171, allocations: 94.31 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 181.7 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001802/0.1214, allocations: 1.302 MB / 472.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006498/0.122, allocations: 383.5 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.1221, allocations: 0 / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.1223, allocations: 83.81 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1225, allocations: 63.84 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1227, allocations: 78.41 kB / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1229, allocations: 55.86 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.123, allocations: 19.98 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.123, allocations: 39.83 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.1231, allocations: 43.84 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1231, allocations: 0 / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.1232, allocations: 31.92 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.1232, allocations: 27.91 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1233, allocations: 37.64 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1234, allocations: 84.14 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1234, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1234, allocations: 4 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1234, allocations: 0 / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000434/0.1239, allocations: 414.8 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1239, allocations: 12.02 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.124, allocations: 34.56 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.124, allocations: 7.906 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1242, allocations: 206.7 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1242, allocations: 4 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1243, allocations: 7.953 kB / 474.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1244, allocations: 65.67 kB / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1245, allocations: 4 kB / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1245, allocations: 4 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1245, allocations: 7.984 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1246, allocations: 35.97 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.125, allocations: 332.6 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1252, allocations: 62.67 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1252, allocations: 3.938 kB / 475 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1252, allocations: 38.55 kB / 475 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1252, allocations: 0 / 475 MB, free: 9.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001046/0.1263, allocations: 337.7 kB / 475.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1263, allocations: 55.36 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1266, allocations: 231.2 kB / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1266, allocations: 29.7 kB / 475.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.1267, allocations: 119.9 kB / 475.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.1267, allocations: 43.36 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.1267, allocations: 8 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1269, allocations: 326.8 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.127, allocations: 31.98 kB / 476.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.1271, allocations: 39.97 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.753e-05/0.1272, allocations: 51.98 kB / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1272, allocations: 0 / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002385/0.1274, allocations: 140.1 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1274, allocations: 8 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1275, allocations: 80 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1275, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1276, allocations: 31.98 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1276, allocations: 3.984 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.1277, allocations: 15.94 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1277, allocations: 4 kB / 476.4 MB, free: 8.484 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001081/0.1278, allocations: 134.3 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.1278, allocations: 15.81 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.1282, allocations: 167.1 kB / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1282, allocations: 4 kB / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1282, allocations: 0 / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1282, allocations: 7.891 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.1288, allocations: 483.2 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.1288, allocations: 4 kB / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.1289, allocations: 27.92 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1289, allocations: 3.953 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1289, allocations: 12.03 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1289, allocations: 0 / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1289, allocations: 0 / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1292, allocations: 265.8 kB / 477.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.1292, allocations: 92.88 kB / 477.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1293, allocations: 4 kB / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1293, allocations: 7.984 kB / 477.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1294, allocations: 15.92 kB / 477.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1294, allocations: 4 kB / 477.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1295, allocations: 171.2 kB / 477.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1295, allocations: 4 kB / 477.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1298, allocations: 28 kB / 477.9 MB, free: 6.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001447/0.1313, allocations: 1.203 MB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1315, allocations: 107.9 kB / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1315, allocations: 4 kB / 479.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1316, allocations: 47.92 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.1319, allocations: 19.98 kB / 479.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1331, allocations: 0.8799 MB / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1334, allocations: 0.7238 MB / 480.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.066e-05/0.1335, allocations: 20.53 kB / 480.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.1335, allocations: 39.42 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of SimCode: time 2.805e-06/0.1336, allocations: 0 / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.1462, allocations: 2.935 MB / 483.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/0.1466, allocations: 226.2 kB / 484.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.925, allocations: 0 / 484.1 MB, free: 0.9141 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat