Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001761/0.001761, allocations: 112.5 kB / 20.43 MB, free: 1.469 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.002223/0.002223, allocations: 213.2 kB / 23.74 MB, free: 4.695 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.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.2287/0.2287, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 91.84 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3262, allocations: 66.08 MB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003043/0.3292, allocations: 1.686 MB / 0.5624 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3304, allocations: 0.5927 MB / 0.563 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.3304, allocations: 4 kB / 0.563 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.3307, allocations: 79.64 kB / 0.5631 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.331, allocations: 107.6 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3315, allocations: 182 kB / 0.5633 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3316, allocations: 91.75 kB / 0.5634 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3318, allocations: 26.31 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.3318, allocations: 35.84 kB / 0.5635 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3319, allocations: 63.75 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3319, allocations: 4 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.332, allocations: 47.92 kB / 0.5636 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.3321, allocations: 35.89 kB / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.3322, allocations: 35.69 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3324, allocations: 127.5 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3324, allocations: 0 / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3324, allocations: 0 / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3324, allocations: 7.938 kB / 0.5638 GB, free: 1.32 MB / 398.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.0005466/0.3329, allocations: 357.5 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.333, allocations: 11.97 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.333, allocations: 38.75 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.3331, allocations: 12.84 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.3333, allocations: 154.3 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3333, allocations: 8.375 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.3333, allocations: 4.375 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3335, allocations: 70.2 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3335, allocations: 7.875 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3335, allocations: 4 kB / 0.5644 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3335, allocations: 0 / 0.5644 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.3337, allocations: 35.97 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3341, allocations: 311.8 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.3344, allocations: 58.58 kB / 0.5648 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.3345, allocations: 24.97 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3345, allocations: 0 / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3345, allocations: 38.56 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.3345, allocations: 0 / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001526/0.336, allocations: 433.3 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3361, allocations: 59.34 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.3363, allocations: 230.6 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3363, allocations: 33.64 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.3364, allocations: 104.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.3364, allocations: 43.69 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.3365, allocations: 21.72 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3366, allocations: 326.8 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3368, allocations: 51.95 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3369, allocations: 55.95 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3372, allocations: 129 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3372, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003541/0.3375, allocations: 173.4 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3376, allocations: 8 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3376, allocations: 0 / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3376, allocations: 4 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3377, allocations: 23.98 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3377, allocations: 3.938 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.3378, allocations: 11.98 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3378, allocations: 4 kB / 0.5665 GB, free: 14.32 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 (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.0001211/0.3379, allocations: 131.1 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3379, allocations: 19.91 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.3384, allocations: 190.9 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3384, allocations: 4 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3384, allocations: 3.938 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3384, allocations: 0 / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/0.3392, allocations: 491 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3392, allocations: 3.938 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3393, allocations: 23.98 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3393, allocations: 4 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3393, allocations: 0 / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3393, allocations: 0 / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3393, allocations: 4 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.3397, allocations: 281 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.3397, allocations: 19.83 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3397, allocations: 192 / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3398, allocations: 23.98 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3399, allocations: 8.078 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3399, allocations: 7.938 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.34, allocations: 168.3 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.34, allocations: 0 / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3403, allocations: 31.92 kB / 0.5679 GB, free: 12.84 MB / 414.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.002299/0.3426, allocations: 1.152 MB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.343, allocations: 123.8 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.343, allocations: 0 / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.3431, allocations: 72.02 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3435, allocations: 23.23 kB / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.346, allocations: 1.99 MB / 0.5712 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3464, allocations: 0.7119 MB / 0.5719 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.3465, allocations: 40.44 kB / 0.5719 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.3466, allocations: 47.41 kB / 0.5719 GB, free: 8.699 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3466, allocations: 0 / 0.5719 GB, free: 8.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.3759, allocations: 3.814 MB / 0.5757 GB, free: 4.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.55, allocations: 8.047 kB / 0.5757 GB, free: 4.906 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 14.59068853687495]