Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001294/0.001294, allocations: 117 kB / 18.49 MB, free: 4.566 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.00147/0.00147, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.422/1.422, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.2195/0.2195, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 71.89 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1259, allocations: 66.05 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003105/0.129, allocations: 1.601 MB / 0.5577 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.13, allocations: 0.5488 MB / 0.5583 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.1301, allocations: 0 / 0.5583 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.1303, allocations: 23.78 kB / 0.5583 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.1305, allocations: 79.69 kB / 0.5584 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1308, allocations: 109.7 kB / 0.5585 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.131, allocations: 67.77 kB / 0.5585 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.1311, allocations: 12 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.1311, allocations: 23.91 kB / 0.5586 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.1312, allocations: 23.86 kB / 0.5586 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1312, allocations: 0 / 0.5586 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.1313, allocations: 35.94 kB / 0.5586 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.1313, allocations: 23.91 kB / 0.5587 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1313, allocations: 19.81 kB / 0.5587 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1315, allocations: 83.66 kB / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1315, allocations: 0 / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1315, allocations: 0 / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1315, allocations: 0 / 0.5588 GB, free: 2.871 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005285/0.1321, allocations: 379 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1321, allocations: 16.02 kB / 0.5591 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.49e-05/0.1321, allocations: 8.125 kB / 0.5591 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.1321, allocations: 30.75 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.1322, allocations: 8.891 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.1324, allocations: 198.2 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.1324, allocations: 4.375 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1324, allocations: 4.375 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1326, allocations: 50 kB / 0.5594 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1326, allocations: 0 / 0.5594 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.1326, allocations: 0 / 0.5594 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1326, allocations: 0 / 0.5594 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.1327, allocations: 31.97 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.1331, allocations: 288.7 kB / 0.5597 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1333, allocations: 46.56 kB / 0.5598 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1333, allocations: 12.94 kB / 0.5598 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1333, allocations: 8 kB / 0.5598 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1334, allocations: 30.56 kB / 0.5598 GB, free: 1.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1334, allocations: 0 / 0.5598 GB, free: 1.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005912/0.134, allocations: 149.4 kB / 0.56 GB, free: 1.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.134, allocations: 51.41 kB / 0.56 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1341, allocations: 156.5 kB / 0.5602 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1342, allocations: 29.7 kB / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.1342, allocations: 96.08 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.1342, allocations: 19.84 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1343, allocations: 17.72 kB / 0.5603 GB, free: 1.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1344, allocations: 322.8 kB / 0.5606 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.1345, allocations: 23.92 kB / 0.5606 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.1345, allocations: 19.98 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1347, allocations: 56.83 kB / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1347, allocations: 3.984 kB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00019/0.1349, allocations: 81.62 kB / 0.5608 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1349, allocations: 8 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1349, allocations: 0 / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1349, allocations: 0 / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.135, allocations: 11.98 kB / 0.5608 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.135, allocations: 11.88 kB / 0.5608 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.135, allocations: 7.984 kB / 0.5608 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.135, allocations: 4 kB / 0.5608 GB, free: 0.4922 MB / 414.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 9.096e-05/0.1351, allocations: 117.8 kB / 0.561 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1351, allocations: 7.953 kB / 0.561 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.1354, allocations: 101.9 kB / 0.5611 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1354, allocations: 4.281 kB / 0.5611 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1354, allocations: 4.312 kB / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1354, allocations: 3.984 kB / 0.5611 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.1359, allocations: 362.5 kB / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1359, allocations: 0 / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.1359, allocations: 15.98 kB / 0.5614 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1359, allocations: 0 / 0.5614 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1359, allocations: 0 / 0.5614 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1359, allocations: 0 / 0.5614 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.136, allocations: 7.938 kB / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1362, allocations: 183.4 kB / 0.5616 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.1363, allocations: 85.06 kB / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1363, allocations: 0 / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.1363, allocations: 15.92 kB / 0.5617 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.1364, allocations: 3.938 kB / 0.5617 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1364, allocations: 4 kB / 0.5617 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.441e-05/0.1365, allocations: 119.2 kB / 0.5618 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1365, allocations: 0 / 0.5618 GB, free: 15.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1367, allocations: 15.94 kB / 0.5618 GB, free: 15.35 MB / 430.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.001881/0.1386, allocations: 1.017 MB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1388, allocations: 51.89 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1388, allocations: 0 / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.1389, allocations: 27.98 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1392, allocations: 19.92 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.141, allocations: 1.461 MB / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1414, allocations: 0.7002 MB / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.012e-05/0.1414, allocations: 15.77 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.1415, allocations: 23.44 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1415, allocations: 0 / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1599, allocations: 2.622 MB / 0.5676 GB, free: 9.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.873, allocations: 15.8 kB / 0.5677 GB, free: 9.461 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 10.862439496035222]