Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001302/0.001302, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001348/0.001348, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2204/0.2204, allocations: 46.95 MB / 361.6 MB, free: 4.027 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 75.88 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3331, allocations: 66.09 MB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003474/0.3365, allocations: 1.973 MB / 0.5634 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3385, allocations: 1.103 MB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.272e-05/0.3386, allocations: 3.938 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.339, allocations: 263.1 kB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.3395, allocations: 267.1 kB / 0.565 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3409, allocations: 0.6583 MB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.3413, allocations: 366.8 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.3415, allocations: 52.88 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.3417, allocations: 151.4 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.342, allocations: 239.2 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.342, allocations: 8 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.3422, allocations: 103.9 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3423, allocations: 107.6 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3424, allocations: 95.22 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.3429, allocations: 374.1 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3429, allocations: 0 / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3429, allocations: 0 / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3429, allocations: 3.938 kB / 0.567 GB, free: 14.31 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008759/0.3438, allocations: 0.6476 MB / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3438, allocations: 8.031 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.3439, allocations: 4.188 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.3439, allocations: 38.75 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.344, allocations: 44.66 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3444, allocations: 284.6 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3444, allocations: 8.375 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.3444, allocations: 12.38 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3447, allocations: 135.1 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3447, allocations: 3.953 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3447, allocations: 11.94 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3447, allocations: 4 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.3449, allocations: 87.94 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/0.3457, allocations: 483.5 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3459, allocations: 106.5 kB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.346, allocations: 36.84 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.346, allocations: 4 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.346, allocations: 30.56 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.346, allocations: 0 / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001084/0.3471, allocations: 460.5 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.3472, allocations: 59.41 kB / 0.5694 GB, free: 11.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.3479, allocations: 0.6073 MB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3479, allocations: 29.7 kB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.3481, allocations: 208.4 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.3482, allocations: 63.44 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.3483, allocations: 37.7 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.3485, allocations: 362.8 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3486, allocations: 71.89 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3488, allocations: 63.95 kB / 0.5708 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.3491, allocations: 151.5 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3491, allocations: 0 / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004282/0.3495, allocations: 241.2 kB / 0.5712 GB, free: 9.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3495, allocations: 6.188 kB / 0.5712 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3495, allocations: 4 kB / 0.5712 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3495, allocations: 0 / 0.5712 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3497, allocations: 35.92 kB / 0.5712 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3497, allocations: 0 / 0.5712 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.3498, allocations: 15.98 kB / 0.5712 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3498, allocations: 4 kB / 0.5712 GB, free: 9.805 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 (17): * Single equations (assignments): 17 * 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.000193/0.35, allocations: 185.7 kB / 0.5714 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.3501, allocations: 47.67 kB / 0.5715 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.3506, allocations: 285.7 kB / 0.5717 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3506, allocations: 0 / 0.5717 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3506, allocations: 3.938 kB / 0.5717 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3506, allocations: 0 / 0.5717 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008912/0.3515, allocations: 0.6456 MB / 0.5724 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3515, allocations: 0 / 0.5724 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3516, allocations: 35.97 kB / 0.5724 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3516, allocations: 0 / 0.5724 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3517, allocations: 8 kB / 0.5724 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3517, allocations: 7.938 kB / 0.5724 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3517, allocations: 3.938 kB / 0.5724 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.3522, allocations: 324.9 kB / 0.5727 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.3522, allocations: 51.69 kB / 0.5728 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.3523, allocations: 0 / 0.5728 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3524, allocations: 8 kB / 0.5728 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3524, allocations: 19.91 kB / 0.5728 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3524, allocations: 4 kB / 0.5728 GB, free: 8.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005443/0.353, allocations: 454.8 kB / 0.5732 GB, free: 7.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.353, allocations: 0 / 0.5732 GB, free: 7.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.3533, allocations: 51.94 kB / 0.5733 GB, free: 7.613 MB / 414.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 (17): * Single equations (assignments): 17 * 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.003712/0.357, allocations: 1.519 MB / 0.5748 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.3574, allocations: 163.8 kB / 0.5749 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3574, allocations: 4 kB / 0.5749 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3575, allocations: 87.88 kB / 0.575 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.3581, allocations: 82.97 kB / 0.5751 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.3626, allocations: 3.327 MB / 0.5784 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3629, allocations: 232.7 kB / 0.5786 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.3631, allocations: 58.25 kB / 0.5786 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.3632, allocations: 143.3 kB / 0.5788 GB, free: 2.199 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3632, allocations: 4 kB / 0.5788 GB, free: 2.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.3932, allocations: 8.284 MB / 0.5869 GB, free: 9.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 14.3 kB / 0.5869 GB, free: 9.938 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.602005145978183]