Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",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.0007792/0.0007791, allocations: 102.2 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008154/0.0008155, allocations: 186 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3395/0.3395, allocations: 43.58 MB / 315 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004978, allocations: 15.98 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1405, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001947/0.1425, allocations: 1.279 MB / 444.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005761/0.1431, allocations: 307.6 kB / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.1432, allocations: 0 / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1435, allocations: 99.8 kB / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.1437, allocations: 71.84 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.144, allocations: 71.84 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1442, allocations: 67.89 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1443, allocations: 12.27 kB / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.1444, allocations: 43.77 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1445, allocations: 55.88 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1446, allocations: 0 / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.1446, allocations: 27.98 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.1447, allocations: 23.92 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.1448, allocations: 57.39 kB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.145, allocations: 95.62 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.145, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.145, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.145, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.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.0005408/0.1456, allocations: 399 kB / 446.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1456, allocations: 12.03 kB / 446.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.1457, allocations: 30.75 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.1457, allocations: 16.75 kB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.146, allocations: 204.1 kB / 446.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.146, allocations: 4.375 kB / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.146, allocations: 384 / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1462, allocations: 57.61 kB / 446.4 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1462, allocations: 3.938 kB / 446.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1462, allocations: 0 / 446.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1463, allocations: 0 / 446.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.1464, allocations: 35.92 kB / 446.5 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.1469, allocations: 284.8 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.1472, allocations: 42.5 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.433e-05/0.1473, allocations: 24.94 kB / 446.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1473, allocations: 7.938 kB / 446.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1473, allocations: 30.56 kB / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.1473, allocations: 0 / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007304/0.1481, allocations: 165.2 kB / 447 MB, free: 9.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1481, allocations: 51.41 kB / 447.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1484, allocations: 242.7 kB / 447.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1485, allocations: 25.7 kB / 447.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.1486, allocations: 112 kB / 447.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.1486, allocations: 19.8 kB / 447.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.1486, allocations: 13.72 kB / 447.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1488, allocations: 326.8 kB / 447.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.1489, allocations: 19.98 kB / 447.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.149, allocations: 23.98 kB / 447.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1491, allocations: 56.83 kB / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1492, allocations: 0 / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002528/0.1494, allocations: 93.52 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1494, allocations: 8 kB / 448 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1495, allocations: 0 / 448 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1495, allocations: 0 / 448 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.1496, allocations: 15.98 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1496, allocations: 0 / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.1497, allocations: 4.25 kB / 448 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1497, allocations: 11.94 kB / 448 MB, free: 8.062 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.1498, allocations: 129.8 kB / 448.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1498, allocations: 11.81 kB / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.1501, allocations: 110.6 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1501, allocations: 0 / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1501, allocations: 0 / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1501, allocations: 3.938 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.1505, allocations: 374.5 kB / 448.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1505, allocations: 0 / 448.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.1506, allocations: 12 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1506, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.1506, allocations: 3.938 kB / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1506, allocations: 7.938 kB / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1506, allocations: 0 / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1509, allocations: 187.3 kB / 448.8 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.1509, allocations: 85.02 kB / 448.9 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1509, allocations: 4 kB / 448.9 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.151, allocations: 15.92 kB / 449 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1511, allocations: 7.938 kB / 449 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1511, allocations: 4 kB / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1512, allocations: 184.3 kB / 449.1 MB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1512, allocations: 0 / 449.1 MB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1515, allocations: 16 kB / 449.2 MB, free: 6.812 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.1528, allocations: 1.023 MB / 450.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1529, allocations: 59.91 kB / 450.2 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.153, allocations: 0 / 450.2 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.153, allocations: 31.92 kB / 450.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1534, allocations: 19.86 kB / 450.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1551, allocations: 1.668 MB / 452 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1554, allocations: 0.7082 MB / 452.7 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.1554, allocations: 8.062 kB / 452.7 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.1555, allocations: 35.42 kB / 452.7 MB, free: 3.172 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1555, allocations: 0 / 452.7 MB, free: 3.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.1677, allocations: 2.47 MB / 455.2 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.168, allocations: 236.5 kB / 455.4 MB, free: 456 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.066, allocations: 0 / 455.4 MB, free: 456 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time