Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.0009626/0.0009626, allocations: 99.03 kB / 17 MB, free: 6.398 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.00105/0.00105, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.398/1.398, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2173/0.2173, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003707, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002249/0.1176, allocations: 1.255 MB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1191, allocations: 0.9492 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.1192, allocations: 4 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.1194, allocations: 23.92 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.1195, allocations: 35.84 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1198, allocations: 67.84 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1199, allocations: 51.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1201, allocations: 4 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.1201, allocations: 19.92 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1203, allocations: 31.84 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1203, allocations: 0 / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1205, allocations: 39.98 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.1205, allocations: 11.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.1206, allocations: 33.69 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1207, allocations: 68.12 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1207, allocations: 0 / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1207, allocations: 0 / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1208, allocations: 0 / 474.2 MB, free: 11.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005531/0.1213, allocations: 377.3 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1214, allocations: 8.031 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.1214, allocations: 38.5 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1215, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1217, allocations: 186.9 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1217, allocations: 11.95 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1218, allocations: 0 / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.122, allocations: 71.39 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.122, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.122, allocations: 4 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.122, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1221, allocations: 27.92 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1225, allocations: 272.9 kB / 475.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1227, allocations: 46.56 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1228, allocations: 16.94 kB / 475.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1228, allocations: 3.938 kB / 475.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1228, allocations: 42.5 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1228, allocations: 0 / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005871/0.1234, allocations: 149.3 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.1235, allocations: 81.05 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1237, allocations: 140.8 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1237, allocations: 29.7 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1238, allocations: 88.08 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1238, allocations: 19.8 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.1238, allocations: 0 / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1239, allocations: 318.8 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.124, allocations: 23.98 kB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.1241, allocations: 37.7 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.1242, allocations: 23.98 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1242, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001734/0.1244, allocations: 85.61 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1244, allocations: 7.984 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1244, allocations: 4.281 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.1244, allocations: 0 / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.1245, allocations: 19.94 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1245, allocations: 0 / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.1246, allocations: 11.98 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1246, allocations: 0 / 476.3 MB, free: 8.676 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 (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 9.404e-05/0.1247, allocations: 118.3 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.1247, allocations: 11.89 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.1249, allocations: 93.62 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1249, allocations: 4 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.125, allocations: 4.25 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.125, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.1254, allocations: 358.5 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1254, allocations: 0 / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.1254, allocations: 19.98 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1255, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.1255, allocations: 4 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1255, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1255, allocations: 3.938 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.1257, allocations: 191.3 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.1258, allocations: 89 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1258, allocations: 0 / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.1259, allocations: 8 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1259, allocations: 3.984 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1259, allocations: 4 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.396e-05/0.126, allocations: 99.27 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.126, allocations: 4 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1263, allocations: 27.98 kB / 477.4 MB, free: 7.547 MB / 350.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.001356/0.1276, allocations: 1.064 MB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1278, allocations: 55.97 kB / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1278, allocations: 0 / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.1279, allocations: 35.91 kB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1282, allocations: 11.94 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.1292, allocations: 0.5123 MB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1294, allocations: 0.6926 MB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.1295, allocations: 8.359 kB / 479.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.1296, allocations: 31.36 kB / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1296, allocations: 3.938 kB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.1442, allocations: 2.281 MB / 482.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.1445, allocations: 223.3 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.042, allocations: 0 / 482.3 MB, free: 2.812 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat