Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001738/0.001738, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002373/0.002373, allocations: 216.5 kB / 24.53 MB, free: 4.008 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.391/1.391, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2203/0.2203, allocations: 46.9 MB / 361.6 MB, free: 4.191 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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 79.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3145, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003063/0.3175, allocations: 1.706 MB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3186, allocations: 0.581 MB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.3187, allocations: 3.938 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.3188, allocations: 23.8 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.3191, allocations: 91.55 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.3194, allocations: 130.5 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.3196, allocations: 91.75 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3197, allocations: 17.83 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.3198, allocations: 35.84 kB / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.3199, allocations: 47.77 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3199, allocations: 8 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3201, allocations: 111.9 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.3202, allocations: 19.92 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.3202, allocations: 43.78 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.3205, allocations: 175.2 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3205, allocations: 0 / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3205, allocations: 0 / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3205, allocations: 0 / 0.5645 GB, free: 1.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006462/0.3212, allocations: 369.5 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3212, allocations: 8.031 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.948e-05/0.3212, allocations: 12.17 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.3213, allocations: 34.75 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3213, allocations: 8.891 kB / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3215, allocations: 146.3 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3215, allocations: 384 / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3215, allocations: 8.375 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3218, allocations: 91.61 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3218, allocations: 8 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3218, allocations: 0 / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.3218, allocations: 0 / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.3221, allocations: 67.92 kB / 0.5652 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.3226, allocations: 291.8 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3228, allocations: 70.53 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.323, allocations: 40.95 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.323, allocations: 0 / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.323, allocations: 38.56 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 6.92e-07/0.323, allocations: 0 / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001578/0.3246, allocations: 384.9 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.3247, allocations: 77.11 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3249, allocations: 170.1 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3249, allocations: 29.8 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.3249, allocations: 104.1 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.325, allocations: 35.69 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.3251, allocations: 21.72 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3252, allocations: 322.8 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3255, allocations: 75.92 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3259, allocations: 81.64 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.3264, allocations: 156.7 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3264, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006258/0.3271, allocations: 193.4 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3271, allocations: 4 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3271, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3271, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.3273, allocations: 39.95 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3273, allocations: 3.984 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3275, allocations: 31.91 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3275, allocations: 4 kB / 0.5673 GB, free: 14.11 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 (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.0001026/0.3276, allocations: 122.9 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.3276, allocations: 15.91 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.3283, allocations: 206.5 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3283, allocations: 3.938 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3283, allocations: 0 / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3283, allocations: 7.875 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.3293, allocations: 469.5 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3293, allocations: 0 / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.3295, allocations: 39.95 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3295, allocations: 3.938 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3295, allocations: 0 / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3295, allocations: 0 / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3295, allocations: 8.359 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.3302, allocations: 287.2 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.3302, allocations: 15.94 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3302, allocations: 11.94 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3304, allocations: 23.97 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.3304, allocations: 11.97 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3305, allocations: 4 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3306, allocations: 119.2 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3306, allocations: 0 / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.3309, allocations: 51.86 kB / 0.5687 GB, free: 12.65 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 (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.002606/0.3335, allocations: 1.218 MB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.3341, allocations: 151.8 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3341, allocations: 4 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.3344, allocations: 75.92 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.3349, allocations: 31.09 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.3381, allocations: 1.859 MB / 0.5719 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.3386, allocations: 0.7002 MB / 0.5726 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.3387, allocations: 16.48 kB / 0.5726 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.3388, allocations: 39.42 kB / 0.5727 GB, free: 8.59 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3388, allocations: 0 / 0.5727 GB, free: 8.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.3629, allocations: 4.47 MB / 0.577 GB, free: 4.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.08, allocations: 6.344 kB / 0.577 GB, free: 4.133 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: 14.005368580983486]