Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001612/0.001612, allocations: 120 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.001689/0.001689, allocations: 218.3 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.437/1.437, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2225/0.2225, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003068/0.003068, allocations: 79.88 kB / 0.4917 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1417, allocations: 66.04 MB / 0.5562 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00362/0.1453, allocations: 1.713 MB / 0.5578 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1465, allocations: 0.5917 MB / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.1465, allocations: 0 / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1468, allocations: 39.7 kB / 0.5585 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1471, allocations: 75.61 kB / 0.5585 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1475, allocations: 190.5 kB / 0.5587 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1477, allocations: 95.69 kB / 0.5588 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1478, allocations: 15.98 kB / 0.5588 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.1479, allocations: 43.83 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.148, allocations: 43.84 kB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.148, allocations: 4 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1482, allocations: 107.9 kB / 0.559 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.1483, allocations: 27.91 kB / 0.559 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.1483, allocations: 39.73 kB / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1486, allocations: 171.4 kB / 0.5592 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1486, allocations: 4 kB / 0.5592 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1486, allocations: 0 / 0.5592 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1486, allocations: 0 / 0.5592 GB, free: 2.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007556/0.1494, allocations: 458.5 kB / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1494, allocations: 8.031 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.1494, allocations: 4.188 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.1495, allocations: 34.75 kB / 0.5597 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.1495, allocations: 12.88 kB / 0.5597 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1498, allocations: 200.2 kB / 0.5599 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1498, allocations: 16.3 kB / 0.5599 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1498, allocations: 384 / 0.5599 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1501, allocations: 99.67 kB / 0.56 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1501, allocations: 0 / 0.56 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1501, allocations: 4 kB / 0.56 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1501, allocations: 0 / 0.56 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.1504, allocations: 75.91 kB / 0.5601 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.1511, allocations: 352.6 kB / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1513, allocations: 70.53 kB / 0.5605 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.1515, allocations: 52.94 kB / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1515, allocations: 3.938 kB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1515, allocations: 34.55 kB / 0.5606 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1515, allocations: 0 / 0.5606 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001694/0.1532, allocations: 421 kB / 0.561 GB, free: 328 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.1533, allocations: 81.11 kB / 0.5611 GB, free: 228 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1535, allocations: 158.2 kB / 0.5612 GB, free: 56 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1535, allocations: 29.7 kB / 0.5613 GB, free: 20 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.1536, allocations: 108.2 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1536, allocations: 31.67 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.1537, allocations: 25.72 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1538, allocations: 326.8 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.1541, allocations: 75.92 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.1544, allocations: 97.62 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.155, allocations: 168.6 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.155, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006774/0.1557, allocations: 213.5 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1557, allocations: 9.719 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1557, allocations: 0 / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1557, allocations: 0 / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.156, allocations: 39.95 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.156, allocations: 4 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1562, allocations: 31.84 kB / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1562, allocations: 4 kB / 0.5623 GB, free: 14.88 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 (10): * Single equations (assignments): 10 * 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.0001148/0.1563, allocations: 118.5 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.1563, allocations: 15.95 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.1571, allocations: 222.4 kB / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1571, allocations: 0 / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1571, allocations: 0 / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1571, allocations: 11.94 kB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1581, allocations: 0.5138 MB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1581, allocations: 4 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1583, allocations: 39.95 kB / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1583, allocations: 7.875 kB / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1583, allocations: 0 / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1583, allocations: 0 / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1583, allocations: 0 / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.159, allocations: 307.3 kB / 0.5635 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.159, allocations: 89.02 kB / 0.5636 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1591, allocations: 3.938 kB / 0.5636 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1593, allocations: 31.95 kB / 0.5637 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.1593, allocations: 16.36 kB / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1593, allocations: 0 / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1594, allocations: 124.1 kB / 0.5638 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1594, allocations: 0 / 0.5638 GB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1598, allocations: 55.86 kB / 0.5639 GB, free: 13.23 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 (9): * Single equations (assignments): 9 * 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.002655/0.1624, allocations: 1.236 MB / 0.5651 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.1631, allocations: 171.8 kB / 0.5652 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1631, allocations: 0 / 0.5652 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.1634, allocations: 95.84 kB / 0.5653 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1638, allocations: 16.36 kB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.168, allocations: 1.941 MB / 0.5672 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.1685, allocations: 0.7041 MB / 0.5679 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.1686, allocations: 36.5 kB / 0.5679 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.1688, allocations: 35.42 kB / 0.568 GB, free: 9.031 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1688, allocations: 4 kB / 0.568 GB, free: 9.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.1935, allocations: 4.459 MB / 0.5723 GB, free: 4.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.282, allocations: 8.062 kB / 0.5723 GB, free: 4.598 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.374317242996767]