Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001015/0.001015, allocations: 92.56 kB / 16.98 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.0009954/0.0009955, allocations: 182.6 kB / 17.87 MB, free: 5.598 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.462/1.462, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2555/0.2555, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00218/0.1324, allocations: 1.255 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000691/0.1331, allocations: 355.6 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1332, allocations: 8 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.1334, allocations: 19.84 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.1336, allocations: 27.91 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1338, allocations: 79.23 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1339, allocations: 39.89 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.134, allocations: 7.984 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.1341, allocations: 19.92 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.1342, allocations: 15.88 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1342, allocations: 0 / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.1343, allocations: 23.98 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1343, allocations: 7.984 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1344, allocations: 33.64 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1345, allocations: 60.14 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1345, allocations: 0 / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1345, allocations: 0 / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1345, allocations: 0 / 473.5 MB, free: 11.7 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.0005005/0.135, allocations: 367.1 kB / 473.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1351, allocations: 12.03 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1351, allocations: 30.56 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.1352, allocations: 7.906 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.1354, allocations: 186.9 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1354, allocations: 0 / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1354, allocations: 7.953 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1356, allocations: 49.69 kB / 474.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1356, allocations: 0 / 474.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1356, allocations: 4 kB / 474.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1356, allocations: 4 kB / 474.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.1357, allocations: 23.98 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1361, allocations: 276.8 kB / 474.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1363, allocations: 50.5 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1364, allocations: 0 / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1364, allocations: 34.5 kB / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1364, allocations: 0 / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005494/0.137, allocations: 157.4 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.137, allocations: 55.41 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1371, allocations: 142.1 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1372, allocations: 25.7 kB / 474.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1372, allocations: 100 kB / 475 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.1372, allocations: 15.73 kB / 475 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.1373, allocations: 0 / 475 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1374, allocations: 322.8 kB / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.1374, allocations: 23.92 kB / 475.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.1375, allocations: 23.98 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.944e-05/0.1376, allocations: 31.92 kB / 475.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1376, allocations: 0 / 475.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001697/0.1378, allocations: 81.86 kB / 475.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1378, allocations: 4 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1378, allocations: 4 kB / 475.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1378, allocations: 4 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.1379, allocations: 11.98 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.872e-06/0.1379, allocations: 4 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.1379, allocations: 11.98 kB / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.138, allocations: 3.984 kB / 475.5 MB, free: 9.434 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 8.788e-05/0.1381, allocations: 118.3 kB / 475.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1381, allocations: 11.91 kB / 475.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1383, allocations: 97.91 kB / 475.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1383, allocations: 0 / 475.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1384, allocations: 0 / 475.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1384, allocations: 0 / 475.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.1388, allocations: 358.8 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1388, allocations: 4.062 kB / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.1388, allocations: 11.98 kB / 476.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1388, allocations: 4 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1389, allocations: 0 / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1389, allocations: 0 / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1389, allocations: 4 kB / 476.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1391, allocations: 191.3 kB / 476.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1391, allocations: 81.02 kB / 476.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1392, allocations: 4 kB / 476.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.1392, allocations: 15.98 kB / 476.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1393, allocations: 0 / 476.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1393, allocations: 4 kB / 476.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.1394, allocations: 117.6 kB / 476.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1394, allocations: 0 / 476.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1396, allocations: 8 kB / 476.5 MB, free: 8.32 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.001215/0.1408, allocations: 1.016 MB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.141, allocations: 59.89 kB / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.141, allocations: 0 / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.1411, allocations: 27.98 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1414, allocations: 12 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.1423, allocations: 0.5437 MB / 478.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1425, allocations: 0.6965 MB / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.1426, allocations: 4 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1426, allocations: 23.42 kB / 478.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1426, allocations: 0 / 478.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.1537, allocations: 2.021 MB / 480.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.1539, allocations: 218.1 kB / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.821, allocations: 0 / 481.1 MB, free: 3.852 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat