Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 79.89 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1213, allocations: 66.05 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003034/0.1244, allocations: 1.693 MB / 0.5578 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1255, allocations: 0.5839 MB / 0.5584 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.1255, allocations: 0 / 0.5584 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1258, allocations: 63.73 kB / 0.5585 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.1261, allocations: 103.6 kB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.1266, allocations: 174.7 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1268, allocations: 87.8 kB / 0.5588 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1269, allocations: 20.17 kB / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/0.1269, allocations: 31.91 kB / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1271, allocations: 63.75 kB / 0.5589 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1271, allocations: 4 kB / 0.5589 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1272, allocations: 55.91 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.1273, allocations: 27.92 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.1273, allocations: 35.73 kB / 0.559 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1275, allocations: 115.4 kB / 0.5592 GB, free: 2.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1275, allocations: 4 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1275, allocations: 0 / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1275, allocations: 0 / 0.5592 GB, free: 2.449 MB / 414.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.0006067/0.1281, allocations: 430.7 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1282, allocations: 8.031 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.431e-05/0.1282, allocations: 4.188 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.1282, allocations: 38.69 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.1283, allocations: 12.84 kB / 0.5596 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1285, allocations: 212.9 kB / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.1285, allocations: 4.375 kB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1285, allocations: 384 / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1287, allocations: 73.98 kB / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1287, allocations: 7.891 kB / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1288, allocations: 4 kB / 0.5599 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1288, allocations: 3.938 kB / 0.5599 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1289, allocations: 47.89 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.1294, allocations: 320.8 kB / 0.5603 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1297, allocations: 62.58 kB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.1297, allocations: 28.97 kB / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1298, allocations: 0 / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1298, allocations: 30.56 kB / 0.5604 GB, free: 1.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.1298, allocations: 0 / 0.5604 GB, free: 1.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001627/0.1314, allocations: 432.9 kB / 0.5608 GB, free: 0.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1315, allocations: 63.28 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1317, allocations: 191.3 kB / 0.561 GB, free: 320 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1317, allocations: 29.7 kB / 0.5611 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.1318, allocations: 104.1 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.1318, allocations: 47.66 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1318, allocations: 25.7 kB / 0.5612 GB, free: 96 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.132, allocations: 322.8 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1322, allocations: 55.95 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1323, allocations: 55.89 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.1326, allocations: 128.8 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1326, allocations: 0 / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003673/0.133, allocations: 157.9 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.133, allocations: 7.938 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.133, allocations: 0.5625 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.133, allocations: 4 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1331, allocations: 31.97 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1331, allocations: 3.938 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.1332, allocations: 15.92 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1332, allocations: 4 kB / 0.562 GB, free: 15.3 MB / 430.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.0001164/0.1333, allocations: 133.8 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.1334, allocations: 11.91 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.1338, allocations: 191 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1339, allocations: 4 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1339, allocations: 3.938 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1339, allocations: 7.969 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.1347, allocations: 0.5038 MB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1347, allocations: 96 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1348, allocations: 31.91 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1348, allocations: 0 / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1348, allocations: 8 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1348, allocations: 0 / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1348, allocations: 0 / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1352, allocations: 281 kB / 0.5631 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.1353, allocations: 89.05 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1353, allocations: 8 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1354, allocations: 7.984 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.1355, allocations: 8 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1355, allocations: 4 kB / 0.5632 GB, free: 13.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1356, allocations: 156.9 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1356, allocations: 0 / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1359, allocations: 31.92 kB / 0.5634 GB, free: 13.72 MB / 430.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.002353/0.1382, allocations: 1.155 MB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.1386, allocations: 127.8 kB / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1386, allocations: 0 / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1388, allocations: 67.89 kB / 0.5647 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1392, allocations: 22.16 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.1417, allocations: 1.924 MB / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.142, allocations: 0.7157 MB / 0.5673 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1421, allocations: 36.53 kB / 0.5674 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.1422, allocations: 39.42 kB / 0.5674 GB, free: 9.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1422, allocations: 0 / 0.5674 GB, free: 9.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.1607, allocations: 3.564 MB / 0.5709 GB, free: 6.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.269, allocations: 15 kB / 0.5709 GB, free: 6.141 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.273766500002239]