Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.0008241/0.0008242, allocations: 98.92 kB / 17.35 MB, free: 6.367 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.0009515/0.0009516, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.338/1.338, allocations: 223.3 MB / 242.3 MB, free: 232 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.2085/0.2085, allocations: 44.24 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.001923/0.1372, allocations: 1.356 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.138, allocations: 443.2 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.138, allocations: 0 / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1383, allocations: 67.83 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1384, allocations: 47.88 kB / 474.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1388, allocations: 165.9 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.139, allocations: 83.75 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1391, allocations: 15.98 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.1391, allocations: 35.91 kB / 474.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.1392, allocations: 43.72 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1392, allocations: 4 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.1393, allocations: 47.97 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1394, allocations: 23.91 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.1395, allocations: 57.45 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1397, allocations: 111.9 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1397, allocations: 0 / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1397, allocations: 0 / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1397, allocations: 0 / 474.8 MB, free: 10.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004966/0.1402, allocations: 419 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1402, allocations: 8.031 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.1403, allocations: 50.61 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1403, allocations: 8.844 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1405, allocations: 204.8 kB / 475.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1405, allocations: 384 / 475.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1405, allocations: 8.375 kB / 475.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1407, allocations: 73.61 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1408, allocations: 3.906 kB / 475.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1408, allocations: 0 / 475.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1408, allocations: 4 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1409, allocations: 55.89 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1415, allocations: 324.8 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.1417, allocations: 66.58 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.1418, allocations: 28.97 kB / 476.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1418, allocations: 7.984 kB / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1419, allocations: 34.56 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1419, allocations: 0 / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001555/0.1434, allocations: 0.4971 MB / 476.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1435, allocations: 55.41 kB / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1437, allocations: 219.9 kB / 476.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1437, allocations: 29.7 kB / 476.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1438, allocations: 112 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.1438, allocations: 39.39 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1439, allocations: 17.72 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.144, allocations: 322.8 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1441, allocations: 63.95 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1443, allocations: 63.95 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.1446, allocations: 140.8 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1446, allocations: 0 / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003401/0.1449, allocations: 177.5 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.145, allocations: 8 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.145, allocations: 0 / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.145, allocations: 3.938 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1451, allocations: 39.91 kB / 477.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1451, allocations: 4 kB / 477.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.1452, allocations: 15.98 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1452, allocations: 0 / 477.9 MB, free: 7.477 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 (11): * Single equations (assignments): 11 * 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.0001078/0.1453, allocations: 137.8 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1454, allocations: 15.81 kB / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.1458, allocations: 211.3 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1458, allocations: 3.938 kB / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1458, allocations: 0 / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1458, allocations: 0 / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.1465, allocations: 0.5233 MB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1465, allocations: 0 / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.1466, allocations: 27.98 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1466, allocations: 0 / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1467, allocations: 4 kB / 478.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1467, allocations: 0 / 478.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1467, allocations: 192 / 478.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.147, allocations: 305 kB / 479.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1471, allocations: 92.91 kB / 479.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1471, allocations: 4 kB / 479.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.1472, allocations: 19.98 kB / 479.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1473, allocations: 7.984 kB / 479.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1473, allocations: 4 kB / 479.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1474, allocations: 167.5 kB / 479.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 0 / 479.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1477, allocations: 28 kB / 479.4 MB, free: 5.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001468/0.1491, allocations: 1.167 MB / 480.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.1495, allocations: 151.8 kB / 480.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1495, allocations: 0 / 480.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1497, allocations: 71.91 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.15, allocations: 32.09 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.1522, allocations: 2.005 MB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1525, allocations: 0.7238 MB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.919e-05/0.1526, allocations: 28.52 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.1526, allocations: 43.42 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1526, allocations: 4 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.1672, allocations: 3.056 MB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.1675, allocations: 240.7 kB / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.893, allocations: 0 / 486.9 MB, free: 14.45 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches