Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",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.00105/0.00105, allocations: 98.39 kB / 16.99 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.001158/0.001159, allocations: 184.1 kB / 17.87 MB, free: 5.957 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.323/1.323, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2019/0.2019, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003316, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001991/0.1262, allocations: 1.259 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006598/0.1268, allocations: 355.6 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.1269, allocations: 3.938 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1271, allocations: 23.91 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1273, allocations: 23.91 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1276, allocations: 75.78 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1278, allocations: 39.91 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1279, allocations: 7.984 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.1279, allocations: 19.92 kB / 473.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.128, allocations: 15.86 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.128, allocations: 4 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.08e-05/0.1281, allocations: 19.98 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.1281, allocations: 4 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.1282, allocations: 37.64 kB / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1283, allocations: 64.12 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1283, allocations: 4 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1283, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1284, allocations: 0 / 473.5 MB, free: 11.66 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.0004813/0.1288, allocations: 371.1 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1289, allocations: 8.031 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.1289, allocations: 42.5 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.129, allocations: 3.906 kB / 473.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1292, allocations: 190.9 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.1292, allocations: 4 kB / 474.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1292, allocations: 0 / 474.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1294, allocations: 49.67 kB / 474.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1294, allocations: 0 / 474.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1294, allocations: 8 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1294, allocations: 0 / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.1295, allocations: 19.98 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.1299, allocations: 292.7 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1301, allocations: 38.56 kB / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1301, allocations: 0 / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1302, allocations: 38.56 kB / 474.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1302, allocations: 7.938 kB / 474.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005451/0.1307, allocations: 149.4 kB / 474.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1308, allocations: 55.41 kB / 474.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1309, allocations: 175.9 kB / 474.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.131, allocations: 33.69 kB / 474.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.131, allocations: 92.14 kB / 475 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1311, allocations: 15.75 kB / 475 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.1311, allocations: 3.938 kB / 475.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.1312, allocations: 322.8 kB / 475.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.1312, allocations: 23.98 kB / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.1313, allocations: 19.98 kB / 475.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.1314, allocations: 27.98 kB / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1314, allocations: 0 / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.1316, allocations: 85.58 kB / 475.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1316, allocations: 4 kB / 475.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1316, allocations: 4 kB / 475.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1316, allocations: 0 / 475.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.1317, allocations: 15.98 kB / 475.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1317, allocations: 0 / 475.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1318, allocations: 15.94 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1318, allocations: 0 / 475.6 MB, free: 9.359 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 0.0001198/0.1319, allocations: 122.3 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.132, allocations: 7.906 kB / 475.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.1322, allocations: 102.2 kB / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1322, allocations: 0 / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1323, allocations: 3.984 kB / 475.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1323, allocations: 3.984 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1327, allocations: 362.4 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1327, allocations: 0 / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.1328, allocations: 16 kB / 476.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1328, allocations: 3.984 kB / 476.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1328, allocations: 384 / 476.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1328, allocations: 0 / 476.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.1328, allocations: 7.953 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1331, allocations: 187.4 kB / 476.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.1331, allocations: 92.94 kB / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1332, allocations: 0 / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.1332, allocations: 8 kB / 476.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.1333, allocations: 7.984 kB / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.1333, allocations: 3.953 kB / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1334, allocations: 130 kB / 476.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1335, allocations: 4 kB / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1337, allocations: 20 kB / 476.6 MB, free: 8.195 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.001567/0.1353, allocations: 0.9945 MB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1355, allocations: 59.89 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1355, allocations: 0 / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.1356, allocations: 31.98 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1359, allocations: 11.95 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.137, allocations: 0.6028 MB / 478.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1374, allocations: 0.7004 MB / 479 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.1375, allocations: 15.98 kB / 479 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1375, allocations: 23.42 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1375, allocations: 3.938 kB / 479.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.1506, allocations: 2.119 MB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.1509, allocations: 215.7 kB / 481.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.057, allocations: 0 / 481.4 MB, free: 3.566 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat