Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.0008551/0.0008551, allocations: 93.73 kB / 17 MB, free: 6.391 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.0008635/0.0008635, allocations: 188.2 kB / 17.89 MB, free: 5.918 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.434/1.434, allocations: 223.3 MB / 241.9 MB, free: 14.5 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.221/0.221, allocations: 44.22 MB / 337.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002053/0.1381, allocations: 1.27 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.1388, allocations: 379.5 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.1388, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1391, allocations: 75.83 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1392, allocations: 51.88 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1395, allocations: 67.86 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1396, allocations: 63.81 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1397, allocations: 16.17 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.1398, allocations: 27.86 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1399, allocations: 43.88 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.14, allocations: 4 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.1401, allocations: 39.92 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.1401, allocations: 15.97 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.1401, allocations: 33.64 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1403, allocations: 72.12 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1403, allocations: 4 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1403, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1403, allocations: 0 / 473.8 MB, free: 11.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004855/0.1408, allocations: 394.9 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1408, allocations: 12.03 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.1409, allocations: 38.55 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1409, allocations: 11.84 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1411, allocations: 190.9 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.1411, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1412, allocations: 19.84 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1413, allocations: 49.69 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1413, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1414, allocations: 4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1414, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1415, allocations: 35.91 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.1418, allocations: 288.8 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.677e-05/0.142, allocations: 46.5 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.142, allocations: 20.86 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.142, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.1421, allocations: 34.66 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1421, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008319/0.1429, allocations: 257.3 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.143, allocations: 55.41 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1432, allocations: 210.1 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1432, allocations: 29.7 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.1433, allocations: 104 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1433, allocations: 27.64 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1433, allocations: 0 / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1434, allocations: 326.8 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.1435, allocations: 23.98 kB / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.1436, allocations: 36.05 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.137e-05/0.1437, allocations: 31.98 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1437, allocations: 0 / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002157/0.1439, allocations: 117.4 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1439, allocations: 8 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1439, allocations: 0 / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.144, allocations: 0 / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.1441, allocations: 23.98 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1441, allocations: 0 / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/0.1441, allocations: 4 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1441, allocations: 4 kB / 476.2 MB, free: 8.863 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 (8): * Single equations (assignments): 8 * 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.0001017/0.1442, allocations: 134.3 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1443, allocations: 15.84 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.1445, allocations: 114.4 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1445, allocations: 4 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1445, allocations: 4 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1446, allocations: 4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.145, allocations: 411.2 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1451, allocations: 3.938 kB / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.1451, allocations: 20.03 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1451, allocations: 4 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1451, allocations: 7.984 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1452, allocations: 3.938 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1452, allocations: 3.953 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1454, allocations: 208.2 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.1455, allocations: 92.91 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1455, allocations: 0 / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1456, allocations: 8 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1456, allocations: 11.94 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1456, allocations: 4 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1458, allocations: 159.2 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.146, allocations: 23.98 kB / 477.4 MB, free: 7.539 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 (8): * Single equations (assignments): 8 * 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.001403/0.1474, allocations: 1.083 MB / 478.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1476, allocations: 83.88 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1477, allocations: 0 / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.1477, allocations: 31.98 kB / 478.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1481, allocations: 23.98 kB / 478.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1493, allocations: 0.752 MB / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1496, allocations: 0.7041 MB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.1497, allocations: 20.95 kB / 480.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.1497, allocations: 35.36 kB / 480.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1497, allocations: 0 / 480.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.1618, allocations: 2.568 MB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.1621, allocations: 222.1 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.038, allocations: 0 / 482.9 MB, free: 2.191 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat does not exist to compare? outputFormat=mat