Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001124/0.001124, allocations: 96.14 kB / 15.87 MB, free: 16 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.001059/0.001059, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.563/1.563, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.3841/0.3841, allocations: 43.5 MB / 313.5 MB, free: 8.527 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.001276/0.001276, allocations: 60.47 kB / 382.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 57.79 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003323/0.1335, allocations: 1.897 MB / 441.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1347, allocations: 0.7255 MB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.1348, allocations: 4 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.1352, allocations: 239.5 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.1355, allocations: 183.5 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1366, allocations: 0.5577 MB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.1369, allocations: 267.2 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1371, allocations: 52.36 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1372, allocations: 115.5 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1374, allocations: 183.4 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.1374, allocations: 8 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.1375, allocations: 43.98 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1376, allocations: 95.55 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.1377, allocations: 99.11 kB / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.138, allocations: 271 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.138, allocations: 8 kB / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.138, allocations: 0 / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1381, allocations: 0 / 444.6 MB, free: 10.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006909/0.1388, allocations: 0.6261 MB / 445.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1388, allocations: 16.03 kB / 445.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.1388, allocations: 34.75 kB / 445.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.1389, allocations: 36.47 kB / 445.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1393, allocations: 318.2 kB / 445.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1393, allocations: 12.36 kB / 445.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1393, allocations: 4.375 kB / 445.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1395, allocations: 97.25 kB / 445.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1395, allocations: 0 / 445.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1395, allocations: 0 / 445.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1395, allocations: 4 kB / 445.8 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1397, allocations: 79.88 kB / 445.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.1404, allocations: 464.5 kB / 446.3 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.1405, allocations: 74.48 kB / 446.4 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.1406, allocations: 36.97 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1406, allocations: 7.984 kB / 446.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1406, allocations: 34.56 kB / 446.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.1406, allocations: 0 / 446.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003345/0.141, allocations: 149.2 kB / 446.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.141, allocations: 59.28 kB / 446.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.1416, allocations: 0.5527 MB / 447.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1416, allocations: 33.7 kB / 447.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1418, allocations: 195.9 kB / 447.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1418, allocations: 23.73 kB / 447.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1419, allocations: 17.72 kB / 447.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.142, allocations: 346.8 kB / 447.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.1421, allocations: 23.98 kB / 447.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.1421, allocations: 31.97 kB / 447.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1423, allocations: 64.83 kB / 447.9 MB, free: 6.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1423, allocations: 3.938 kB / 447.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002078/0.1425, allocations: 133.1 kB / 448.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1425, allocations: 4 kB / 448.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1425, allocations: 0 / 448.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1425, allocations: 7.938 kB / 448.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.1426, allocations: 11.98 kB / 448.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1426, allocations: 0 / 448.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.1427, allocations: 11.92 kB / 448.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1427, allocations: 8 kB / 448.1 MB, free: 6.305 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 (6): * Single equations (assignments): 6 * 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.0001421/0.1429, allocations: 173.7 kB / 448.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.1429, allocations: 35.53 kB / 448.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1432, allocations: 153.2 kB / 448.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1433, allocations: 3.938 kB / 448.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1433, allocations: 4.062 kB / 448.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1433, allocations: 4 kB / 448.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.1436, allocations: 293.5 kB / 448.8 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1436, allocations: 4 kB / 448.8 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.1437, allocations: 15.98 kB / 448.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1437, allocations: 0 / 448.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1437, allocations: 4 kB / 448.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1437, allocations: 3.938 kB / 448.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1437, allocations: 0 / 448.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.144, allocations: 219 kB / 449 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.1441, allocations: 116.7 kB / 449.1 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.1441, allocations: 3.984 kB / 449.1 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.1442, allocations: 11.88 kB / 449.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1443, allocations: 4 kB / 449.1 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1443, allocations: 4 kB / 449.1 MB, free: 5.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004666/0.1448, allocations: 411.1 kB / 449.5 MB, free: 4.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1448, allocations: 0 / 449.5 MB, free: 4.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1451, allocations: 39.89 kB / 449.6 MB, free: 4.734 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 (6): * Single equations (assignments): 6 * 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.001984/0.1471, allocations: 1.256 MB / 450.8 MB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1473, allocations: 63.89 kB / 450.9 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1473, allocations: 0 / 450.9 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/0.1474, allocations: 35.98 kB / 450.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.148, allocations: 73.3 kB / 451 MB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.1514, allocations: 2.92 MB / 453.9 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2139/0.3653, allocations: 0.7927 MB / 454.7 MB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.3656, allocations: 52.28 kB / 454.8 MB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3657, allocations: 105.9 kB / 454.9 MB, free: 48.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3657, allocations: 0 / 454.9 MB, free: 48.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.3832, allocations: 6.305 MB / 461.2 MB, free: 47.87 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.3834, allocations: 235.9 kB / 461.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.101, allocations: 0 / 461.4 MB, free: 47.61 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches